Talk:Heap sort

From Algorithmist
Jump to navigation Jump to search

Just passing through but, it seems to me that in the function Heapify (pseudo code), "n" should be "i".

If not, "n" appears used-but-undefined in that function.

~Olie