Pergunta de entrevista da empresa LinkedIn

LCA of the tree with no parent pointers