Amazon interview question

Check if 2 binary trees are equal