Morgan Stanley interview question

Write code to find a number in a binary search tree.