Question d’entretien chez Microsoft

Least Common Ancestor (simple solution).