Amazon interview question

Trees and Binary search basic