Netskope interview question

Lowest Common Ancestor in tree