Tree questions are very common at top tech company interviews.
Binary tree has an elegant recursive structure - Assuming you knew the solution to the left subtree and the right subtree, how could you combine the two results to give you the final solution?