First look at two basic operations:
- L
- Right-handed
It can be shown as long as the node closest to the insertion junction of the imbalance is adjusted to the normal, all nodes on the path are balanced .
When manual analysis, summarized four imbalance as follows:
【example】
Keywords with a sequence as follows: , manually configured to sort a balanced binary tree.