Question d’entretien chez Amazon

How to detect if two binary trees are the same