Amazon Interview Question

Binary tree search for value.