balanced-tree-short-circuit-propagation

Status: IN

The balanced-binary-tree solution achieves O(n) time by short-circuiting: once any subtree returns `-1` (unbalanced), the value propagates upward immediately without recursing into sibling subtrees.

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

JSON