Pergunta de entrevista da empresa Amazon

Tree question. I don't exactly remember but it was like verifiying two binary trees are the same or something.