This commit is contained in:
krahets
2023-08-29 20:57:15 +08:00
parent 638312fdb1
commit 9f30ce7260
29 changed files with 95 additions and 58 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ comments: true
<p align="center"> 图 7-2 &nbsp; 二叉树的常用术语 </p>
!!! tip "高度与深度的定义"
!!! tip
请注意,我们通常将“高度”和“深度”定义为“走过边的数量”,但有些题目或教材可能会将其定义为“走过节点的数量”。在这种情况下,高度和深度都需要加 1 。