Pregunta de entrevista de Amazon

Asked how to Reverse binary tree