Re:O-notation considered harmful (use Analytic Combinatorics...
by beagle3 on Monday February 11, 2013 @12:05AM
(#5199481)
Every ref to quicksort worth its salt mentions that it is O(n log n) average case, and O(n^2) worst case.
The problem with "average case" analysis is that you must give your assumptions; Without precisely stating your assumptions, "average case" is useless.
The problem with "average case" analysis is that you must give your assumptions; Without precisely stating your assumptions, "average case" is useless.