Posted by haifeng on 2015-06-13 14:31:27 last update 2015-06-13 14:31:27 | Edit | Answers (0)
什么是 AVL 树?
AVL(Adelson-Velskii and Landis)树是指带有平衡条件的二叉查找树. 其平衡条件是要求每个结点的左右子树的高度之差最多为 $1$. 空树的高度定义为 $-1$.