Pergunta de entrevista da empresa Amazon

How to find the least common ancestor for a binary tree.