Amazon interview question

Is binary search tree method