This commit is contained in:
krahets
2023-08-20 23:27:50 +08:00
parent 68e11cfa34
commit 4d55cafd13
46 changed files with 174 additions and 162 deletions

View File

@@ -6,7 +6,7 @@ comments: true
在链表表示下,二叉树的存储单元为节点 `TreeNode` ,节点之间通过指针相连接。在上节中,我们学习了在链表表示下的二叉树的各项基本操作。
那么,能否用数组来表示二叉树呢?答案是肯定的。
那么,我们能否用数组来表示二叉树呢?答案是肯定的。
## 7.3.1   表示完美二叉树