Microsoft interview question

Data structures and algorithms: Find the LCA in a tree