Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Heap sort is in-place (and does not even need recursion, unlike quicksort). But yes, it is not stable, and usually slower than even shell sort (except for very large arrays).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: