Amazon interview question

Asked how to Reverse binary tree