Settings

Theme

Exploring the Worst Case Complexity of Quicksort (2015)

tyler-davis.com

20 points by 10000100001010 8 years ago · 6 comments

Reader

DannyBee 8 years ago

I wonder if the author is aware of antiqsort

https://www.cs.dartmouth.edu/~doug/aqsort.c and https://github.com/matslina/qsort/blob/master/antiqsort.c ...

betterunix2 8 years ago

The textbook solution is to use this pivot selection algorithm:

https://en.wikipedia.org/wiki/Median_of_medians

In practice it is not really worth it.

  • jchanimal 8 years ago

    No matter how clever you are with an algorithm, somebody wrote a paper on it in the 70s.

PretzelFisch 8 years ago

The light grey text with the white background, seems to be a popular design choice. But I have trouble reading this page do to the lack of contrast.

dangoljames 8 years ago

This was just as ridiculously nerdy as it was when friends of mine from school and I did it in 1981 -- in basic on the trs80 though :D

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection