Domanda di colloquio di Tripadvisor

Write a function to see if two binary trees are equal.