Frage im Vorstellungsgespräch bei Tripadvisor

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