We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0463bfd + 44147f3 commit aa9b077Copy full SHA for aa9b077
src/algorithms/explanations/HSExp.md
@@ -14,7 +14,7 @@ A heap is a complete binary tree represented by an array, with
14
the root in *<verbatim>A[1]</verbatim>* and the children of
15
*<verbatim>A[i]</verbatim>* being *<verbatim>A[2i]</verbatim>* and
16
*<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
+its children (this is called the *heap condition*), thus the root is
18
the maximum (heap sort uses a "max" heap; there are also "min" heaps
19
where the ordering is reversed). Note that there are no pointers etc -
20
we can view the array as a tree so as to understand the ordering. In
0 commit comments