Pregunta de entrevista de Amazon

Invert Binary tree was the question