Question d’entretien chez Amazon

Asked how to Reverse binary tree