Bloomberg interview question

find common parents in a binary tree