Approach hintTry it first, then revealHide
Swap the left and right children of every node; doing so in any traversal order, recursive or iterative, produces the mirrored tree.
Swap the left and right children of every node; doing so in any traversal order, recursive or iterative, produces the mirrored tree.