Skip to main content

Module heapsort

Module heapsort 

Source
Expand description

Heapsort.

See the book entry Comparison sorting.

Functionsยง

heapsort
Sorts a slice using heapsort (in place, O(n log n) worst case).