Microsoft interview question

Binary Tree search algorithm problem