Amazon interview question

Cannot got into much details. Binary Search Trees