 |  Introduction to Algorithms, 2/e Thomas H. Cormen,
Dartmouth College Charles E. Leiserson,
Massachusetts Institute of Technology Ronald L. Rivest,
Massachusetts Institute of Technology Clifford Stein,
Columbia University
Sorting in Linear Time
Chapter ObjectivesHow fast can we sort?
We will prove a lower bound, then beat it by playing a different game. Comparison sorting -
The only operation that may be used to gain order information about a sequence
is comparison of pairs of elements.
-
All sorts seen so far are comparison sorts: insertion sort, selection sort, merge
sort, quicksort, heapsort, treesort.
|