subtree-sum-return-contract

Status: IN

`subtree_sum` always returns the sum of all node values in its subtree, never the tilt; tilt is accumulated separately via the `nonlocal total_tilt` side effect.

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

JSON