Problem 226 · Easy

Invert Binary Tree

Recursively swap left and right children of every node to mirror the tree.

Open the interactive visualisation