The analysis of quicksort programs

R Sedgewick - Acta Informatica, 1977 - Springer
Acta Informatica, 1977Springer
The Quicksort sorting algorithm and its best variants are presented and analyzed. Results
are derived which make it possible to obtain exact formulas describing the total expected
running time of particular implementations on real computers of Quicksort and an
improvement called the median-of-three modification. Detailed analysis of the effect of an
implementation technique called loop unwrapping is presented. The paper is intended not
only to present results of direct practical utility, but also to illustrate the intriguing …
Summary
The Quicksort sorting algorithm and its best variants are presented and analyzed. Results are derived which make it possible to obtain exact formulas describing the total expected running time of particular implementations on real computers of Quicksort and an improvement called the median-of-three modification. Detailed analysis of the effect of an implementation technique called loop unwrapping is presented. The paper is intended not only to present results of direct practical utility, but also to illustrate the intriguing mathematics which arises in the complete analysis of this important algorithm.
Springer