Question d’entretien chez Amazon

LCA problem of a binary tree