AVL Tree AVL Sort
一棵树的高度最好的情况是logn,最坏的情况是n
一棵树的高度的定义是说最root到leaf最远的距离
Rotation
AVL insert
1、simple BST insert
2、fix AVL property
from changed node up
3、
AVL Tree AVL Sort
一棵树的高度最好的情况是logn,最坏的情况是n
一棵树的高度的定义是说最root到leaf最远的距离
Rotation
AVL insert
1、simple BST insert
2、fix AVL property
from changed node up
3、