Signzy interview question

How to reverse a binary tree.