invert-tree-mutates-in-place

Status: IN

`invert_tree` swaps child pointers on existing nodes rather than allocating new ones; the returned root is the same object as the input root.

Source: entries/2026/06/06/invert-binary-tree-solution.md

JSON