Question d’entretien chez Google

Asked to invert a binary tree.