Skip to content

Commit aa9b077

Browse files
committed
2 parents 0463bfd + 44147f3 commit aa9b077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/explanations/HSExp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A heap is a complete binary tree represented by an array, with
1414
the root in *<verbatim>A[1]</verbatim>* and the children of
1515
*<verbatim>A[i]</verbatim>* being *<verbatim>A[2i]</verbatim>* and
1616
*<verbatim>A[2i+1]</verbatim>*. Each node is greater than or equal to
17-
it's children (this is called the *heap condition*), thus the root is
17+
its children (this is called the *heap condition*), thus the root is
1818
the maximum (heap sort uses a "max" heap; there are also "min" heaps
1919
where the ordering is reversed). Note that there are no pointers etc -
2020
we can view the array as a tree so as to understand the ordering. In

0 commit comments

Comments
 (0)