Content deleted Content added
Undid revision 535811539 by 171.66.165.89 (talk) |
blogs are inalid references for wikipedia Undid revision 549654413 by 121.44.73.25 (talk) |
||
Line 77:
Like quicksort, the performance of the algorithm is sensitive to the pivot that is chosen. If bad pivots are consistently chosen, this degrades to the minimum-based selection described previously, and so can require as much as O(''n''<sup>2</sup>) time. David Musser describes a "median-of-3 killer" sequence that can force the well-known median-of-three pivot selection algorithm to fail with worst-case behavior (see ''[[#Introselect|Introselect]]'' section below).
== Linear general selection algorithm - Median of Medians algorithm ==
|