Domanda di colloquio di Bloomberg

find common parents in a binary tree