Pergunta de entrevista da empresa Amazon

Invert Binary tree was the question