Amazon Interview Question

How to find the common ancestor in a BST?