Skip to content

Commit

Permalink
fix(docs): fix typo for heaps
Browse files Browse the repository at this point in the history
  • Loading branch information
amejiarosario committed Feb 12, 2020
1 parent 6f4585a commit a53915f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/content/part03/tree-intro.asc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ image::image33.png[image,width=348,height=189]
(((Max-Heap)))
(((Min-Heap)))
(((Data Structures, Non-Linear, Binary Heap)))
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.
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.

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

0 comments on commit a53915f

Please sign in to comment.