This commit is contained in:
krahets
2023-08-28 23:52:12 +08:00
parent f8b9a9d748
commit 638312fdb1
10 changed files with 31 additions and 29 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ AVL 树既是二叉搜索树也是平衡二叉树,同时满足这两类二叉
### 1.   节点高度
在操作 AVL 树时,我们需要获取节点高度,因此需要为 AVL 树的节点类添加 `height` 变量。
由于 AVL 树的相关操作需要获取节点高度,因此我们需要为节点类添加 `height` 变量。
=== "Java"