Pregunta de entrevista de Lilly Pulitzer

how would you invert a binary tree