Pergunta de entrevista da empresa Amazon

Asked how to Reverse binary tree