Amazon interview question

Find a subtree in a tree