Amazon Interview Question

Write an algorithm for searching a binary tree.