Bloomberg Interview Question

find common parents in a binary tree