Pregunta de entrevista de Amazon

How to detect if two binary trees are the same