Pregunta de entrevista de Comcast

Invert a binary tree, ques related to