Amazon interview question

Binary tree search for value.