Zillow Interview Question

find common ancestor of two nodes