|
|
|---|
| Sort algorithms home |
|
||||
| sort | heapsort
Also defined at: http://www.nist.gov/dads/HTML/heapSort.html . Inherits from sort A sort algorithm which builds a heap, then repeatedly extracts the maximum item. Run time is O(n log n). [National Institute of Standards and Technology] Demonstrations: Implementations and sample code:
See also heapsort variants: adaptive heap sort, introspective sort |