Hacker News new | ask | show | jobs
by bvinc 3539 days ago
Just a nitpick: There are versions of quicksort that perform well, O(n*log n), on already sorted data. But there is always some worst case scenario where it can be O(n^2).