TREES · AVL
A BST that rotates itself back into balance — |bf| ≤ 1 everywhere.
BST insert, then rotate the first ±2 node.
BST delete, then rebalance the whole path.
The four imbalance cases and their fixes.