DocumentCode :
962536
Title :
Quicksort for Equal Keys
Author :
Wegner, Lutz M.
Author_Institution :
Universitÿt Karlsruhe, Karlsruhe, West Germany.; Fachhochschule Fulda, FB Angewandte Informatik und Mathematik, D-6400 Fulda, West Germany.
Issue :
4
fYear :
1985
fDate :
4/1/1985 12:00:00 AM
Firstpage :
362
Lastpage :
367
Abstract :
When sorting a multiset of N elements with n ≪ N distinct values, considerable savings can be obtained from an algorithm which sorts in time O(N log n) rather than O(N log N). In a previous paper, two Quicksort derivatives operating on linked lists were introduced which are stable, i.e., maintain the relative order of equal keys, and which achieve the previously unattainable lower bound in partition exchange sorting. Here, six more algorithms are presented which are unstable but operate on arrays. One of the algorithms is also designed for a speedup on presorted input. The algorithms are analyzed and compared to potential contenders in multiset sorting.
Keywords :
Algorithm design and analysis; Costs; Partitioning algorithms; Phased arrays; Sorting; Analysis of algorithms; Quicksort; arrays; multisets; presorted files; sorting;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/TC.1985.5009387
Filename :
5009387
Link To Document :
بازگشت