Fast exchange sorts

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We present three variations of the following new sorting theme: Throughout the sort, the array is maintained in piles of sorted elements. At each step, the piles are split into two parts, so that the elements of the left piles are smaller than (or equal to) the elements of the right piles. Then, the two parts are each sorted, recursively. The theme, then, is a combination of Hoare's Quicksort idea, and the Pick algorithm, by Blum, et al., for linear selection. The variations arise from the possible choices of splitting method. Two variations attempt to minimize the average number of comparisons. The better of these has an average performance of 1.075nlgn comparisons. The third variation sacrifices the average case for a worst-case performance of 1.756nlgn, which is better than Heapsort. They all require minimal extra space and about as many data moves as comparisons.

Cite

CITATION STYLE

APA

Dershowitz, N., & Leong, H. W. (1989). Fast exchange sorts. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 367 LNCS, pp. 101–113). Springer Verlag. https://doi.org/10.1007/3-540-51295-0_121

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free