Advanced SearchSearch Tips
Proposal of Fast Counting Sort
facebook(new window)  Pirnt(new window) E-mail(new window) Excel Download
 Title & Authors
Proposal of Fast Counting Sort
Lee, Sang-Un;
  PDF(new window)
Among comparison sorts, no algorithm excels a current set lower bound of O(nlogn) in operation. Quicksort, the fastest of its kind, has a complexity of O(nlogn) at its best and on average and at worst. This paper thus presents two methods: first is an O(n+k) simple counting sort which operates much more speedily than an O(n+k), (k=maximum value) counting sort, and second is an O(ln) radix counting sort which counts the frequency of numbers in the digit l of a data and saves it in a corresponding virtual bucket in an array, only to virtually divide the array into radix digit numbers. For the 6 experimental data, the proposed algorithm makes O(nlogn) or of Quicksort simple into O(n+k) or O(ln). After all, the proposed sorting algorithm has proved to be much faster than the counting sort and Quicksort.
Counting sort;Quicksort;Radix sort;Bucket sort;
 Cited by
T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, "Introduction to Algorithms, MIT Press, ISBN: 9780262033848, 2005.

D. B. Ring, "A Comparison of Sorting Algorithms",, 2003.

R. Sedgewick, "Algorithms in C, Parts 1-4: Fundamentals, Data Structures, Sorting, Searching", 3rd Ed., Addison-Wesley, ISBN-13: 978-0201314526, 1998.

S. Nilson, "The Fastest Sorting Algorithm?", Dr. Dobb's Journal, Vol. 311, pp. 38-45, Apr. 2000.

P. Indyk and C. Wenk, "CS445: Introduction to Algorithms, Sorting in Linear Time", Dept. of Computer Science, The University of Arizona, 2007.

H. W. Lang, "Sequential and Parallel Sorting Algorithms: Quicksort," FH Flensberg, 2011.

C. A. R. Hoare, "Quicksort", The Computer Journal, Vol. 5, No. 1, pp. 10-16, doi:10.1093/comjnl/5.1.10, 1962. crossref(new window)