Skip to content

Commit a53915f

Browse files
committed
fix(docs): fix typo for heaps
1 parent 6f4585a commit a53915f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/content/part03/tree-intro.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ image::image33.png[image,width=348,height=189]
9090
(((Max-Heap)))
9191
(((Min-Heap)))
9292
(((Data Structures, Non-Linear, Binary Heap)))
93-
The heap (max-heap) is a type of binary tree where the children's values are higher than the parent. Opposed to the BST, the left child doesn’t have to be smaller than the right child.
93+
The heap (max-heap) is a type of binary tree where the parent's value is higher than the value of both children. Opposed to the BST, the left child doesn’t have to be smaller than the right child.
9494

9595
.Heap vs BST
9696
image::image34.png[image,width=325,height=176]

0 commit comments

Comments
 (0)