Align Technology interview question

Revert binary tree on paper (c++)