Oracle interview question

Write the code for binary tree search.