Amazon interview question

Given a binary search tree, find the second smallest element to a given element.

Interview Answer

Anonymous

5 Sept 2013

Gave a logN solution using two temporary variables

1