This website requires JavaScript.
Explore
Help
Register
Sign In
e2hang
/
Data-Structure
Watch
1
Star
1
Fork
0
You've already forked Data-Structure
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
03d0c1b0393a174328c9b0ffb82b03d1ac68d66b
Data-Structure
/
BinaryTree
/
BalanceTree
/
AVLTree
History
e2hang
03d0c1b039
HolyAVLTree
2025-08-19 18:01:45 +08:00
..
avl.h
HolyAVLTree
2025-08-19 18:01:45 +08:00
AVLTree的4中旋转方式.pdf
AVL Note
2025-08-17 18:58:25 +08:00
CMakeLists.txt
HolyAVLTree
2025-08-19 18:01:45 +08:00
main.cpp
HolyAVLTree
2025-08-19 18:01:45 +08:00
OutputLogic.pdf
HolyAVLTree
2025-08-19 18:01:45 +08:00
README.MD
HolyAVLTree
2025-08-19 18:01:45 +08:00
treenode.h
HolyAVLTree
2025-08-19 18:01:45 +08:00
README.MD
Unescape
Escape
旋转的本质
:
不能改变BST的属性
左旋,是指把本节点移动到本节点右节点的左节点上; 右旋,是指把本节点移动到本节点左节点的右节点上 LR的情况
:
先把LR的左节点左旋
,
形成LL
,
然后再按照LL的方式处理 RL同理