【正文】
en implementing sorting algorithms. Sorting algorithms 1. A inplace sorting algorithm 2. Comparison sort 3. The counting sort algorithm 4. The radix sort algorithm 5. The bucket sort algorithm Order statistics The ith order statistic of a set of n numbers is the ith smallest number in the set. Sorting in linear time Lower bounds for sorting Assumption: 1. All of the input elements are distinct 2. All parisons have the form ai ≤ aj How fast can we sort? All the sorting algorithms we have seen so far are parison sorts: only use parisons to determine the relative order of elements. ?.,insertion sort, merge sort, quicksort,