Pregunta de entrevista de Microsoft

Data structures and algorithms: Find the LCA in a tree