<aside> 💡
可以使用旋转操作,在O(N)的时间复杂度下平衡任意一颗二叉搜索树
</aside>
平衡因子
动态演示:https://www.cs.usfca.edu/~galles/visualization/AVLtree.html