Pregunta de entrevista de Arm

Write an algorithm that inverts a binary tree.