Pregunta de entrevista de SAP Ariba

Find least common parent in binary tree