Amazon Interview Question

Design an algorithm to find the first common ancestor of two nodes in a binary tree.