Skip to content

Commit

Permalink
Update binary_tree.md (krahets#1454)
Browse files Browse the repository at this point in the history
* Update binary_tree.md

关于完全二叉树严谨性补充:完美二叉树是一棵特殊的完全二叉树,完全二叉树的最底层节点可以是满的。

* Update binary_tree.md

---------

Co-authored-by: Yudong Jin <[email protected]>
  • Loading branch information
bitsmi and krahets authored Aug 1, 2024
1 parent f0755bd commit 0bff488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter_tree/binary_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@

### 完全二叉树

如下图所示,<u>完全二叉树(complete binary tree)</u>只有最底层的节点未被填满,且最底层节点尽量靠左填充。
如下图所示,<u>完全二叉树(complete binary tree)</u>只有最底层的节点未被填满,且最底层节点尽量靠左填充。请注意,完美二叉树也是一棵完全二叉树。

![完全二叉树](binary_tree.assets/complete_binary_tree.png)

Expand Down

0 comments on commit 0bff488

Please sign in to comment.