merge-trees-creates-new-nodes-for-overlaps

Status: IN

`merge_trees` allocates a new `TreeNode` for every position where both input trees have a node; it never mutates either input at overlapping positions.

Source: entries/2026/06/06/merge-two-binary-trees-solution.md

Depended on by

JSON