Question d’entretien chez Arm

Write an algorithm that inverts a binary tree.