Amazon Interview Question

Algorithmic question based on Binary trees. (Path between two nodes)