Skip to content

Commit ff30d17

Browse files
authored
Merge pull request #658 from jlampa/patch-1
Update README.markdown
2 parents b683b21 + 5a6e1a7 commit ff30d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Heap/README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ As a result of this heap property, a max-heap always stores its largest item at
2727

2828
> **Note:** The root of the heap has the maximum or minimum element, but the sort order of other elements are not predictable. For example, the maximum element is always at index 0 in a max-heap, but the minimum element isn’t necessarily the last one. -- the only guarantee you have is that it is one of the leaf nodes, but not which one.
2929
30-
## How does a heap can be compared to regular trees?
30+
## How does a heap compare to regular trees?
3131

3232
A heap is not a replacement for a binary search tree, and there are similarities and differnces between them. Here are some main differences:
3333

0 commit comments

Comments
 (0)