Amazon Interview Question

Given a binary search tree, find the length of the path between two nodes.

Interview Answer

Anonymous

Jan 29, 2013

Find the first node, once you found it, use it as a root to your bst and count up ultil you find the next element...