← All problems
Easy · Trees

Invert Binary Tree

Mirror the tree by exchanging children at each node.

Full problem and submission ↗
main.js

Console

Ready