Amazon Interview Question

How to detect if two binary trees are the same