Amazon interview question

Something about binary search trees