Amazon Interview Question

given BST, return distance of two nodes.