Pergunta de entrevista da empresa FactSet

Given a binary tree, write an algorithm to find the first common ancestor of any two nodes