This commit is contained in:
krahets
2023-10-26 03:00:28 +08:00
parent f442443773
commit d71e2dd46b
6 changed files with 304 additions and 202 deletions

View File

@@ -206,7 +206,7 @@ comments: true
- 节点的「度 degree」节点的子节点的数量。在二叉树中度的取值范围是 0、1、2 。
- 二叉树的「高度 height」从根节点到最远叶节点所经过的边的数量。
- 节点的「深度 depth」从根节点到该节点所经过的边的数量。
- 节点的「高度 height」从最远叶节点到该节点所经过的边的数量。
- 节点的「高度 height」距离该节点最远叶节点到该节点所经过的边的数量。
![二叉树的常用术语](binary_tree.assets/binary_tree_terminology.png)