merge-trees-shares-subtrees-for-non-overlaps

Status: IN

When one input tree is `None` at a position, `merge_trees` returns the other tree's subtree by reference — the output shares structure with the inputs for non-overlapping regions.

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

Depended on by

JSON