Question d’entretien chez Amazon

find common ancestor in binary tree(Not binary search tree)