Insert and delete operations keep the tree height-balanced with rotations.
AVL rebalancing keeps the height logarithmic after insertions and deletions.
Recursive operations use the call stack proportional to the tree height.