mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-14 02:10:37 +08:00
deploy
This commit is contained in:
@@ -4296,7 +4296,7 @@
|
||||
<p align="center"> Figure 7-4 Perfect binary tree </p>
|
||||
|
||||
<h3 id="2-complete-binary-tree">2. Complete binary tree<a class="headerlink" href="#2-complete-binary-tree" title="Permanent link">¶</a></h3>
|
||||
<p>As shown in Figure 7-5, a <u>complete binary tree</u> is a binary tree where only the nodes in the bottom level are not completely filled, and the nodes in the bottom level are filled from left to right as much as possible. Please note that a perfect binary tree is also a complete binary tree.</p>
|
||||
<p>As shown in Figure 7-5, a <u>complete binary tree</u> is a binary tree where only the bottom level is possibly not completely filled, and nodes at the bottom level must be filled continuously from left to right. Note that a perfect binary tree is also a complete binary tree.</p>
|
||||
<p><a class="glightbox" href="../binary_tree.assets/complete_binary_tree.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="Complete binary tree" class="animation-figure" src="../binary_tree.assets/complete_binary_tree.png" /></a></p>
|
||||
<p align="center"> Figure 7-5 Complete binary tree </p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user