Pregunta de entrevista de Tripadvisor

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