getheight-sentinel-neg1

Status: IN

`getHeight` in balanced-binary-tree returns exactly `-1` as a sentinel for any unbalanced subtree and never any other negative value; non-negative returns represent actual heights.

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

Depended on by

JSON