Pergunta de entrevista da empresa Amazon

Write an algorithm for searching a binary tree.