Update the book based on the revised second edition (#1014)

* Revised the book

* Update the book with the second revised edition

* Revise base on the manuscript of the first edition
This commit is contained in:
Yudong Jin
2023-12-28 18:06:09 +08:00
committed by GitHub
parent 19dde675df
commit f68bbb0d59
261 changed files with 643 additions and 647 deletions

View File

@@ -193,7 +193,7 @@
二叉树的常用术语如下图所示。
- 「根节点 root node」位于二叉树顶层的节点没有父节点。
- 「叶节点 leaf node」没有子节点的节点其两个指针均指向 $\text{None}$
- 「叶节点 leaf node」没有子节点的节点其两个指针均指向 `None`
- 「边 edge」连接两个节点的线段即节点引用指针
- 节点所在的「层 level」从顶至底递增根节点所在层为 1 。
- 节点的「度 degree」节点的子节点的数量。在二叉树中度的取值范围是 0、1、2 。