Problem 110 · Easy

Balanced Binary Tree

Check height balance by recursively computing subtree heights and returning -1 on imbalance.

Open the interactive visualisation