Abstract
BOTTOM-UP-HEAP SORT is a variant of HEAP SORT which beats on average even the clever variants of QUICK SORT, if n is not very small. Up to now, the worst case complexity of BOTTOM-UP-HEAP SORT can be estimated only by 1.5n log n. McDiarmid and Reed (1989) have presented a variant of BOTTOM-UP-HEAP SORT which needs extra storage for n bits. The worst case number of comparisons of this (almost internal) sorting algorithm is estimated by n log n+1.1n. It is discussed how many comparisons can be saved on average.
Supported in part by DFG grants We 1066-2/1 and Me 872-1/3
Preview
Unable to display preview. Download preview PDF.
References
Carlsson, S. (1987a). A variant of HEAPSORT with almost optimal number of comparisons. Information Processing Letters 24, 247–250.
Carlsson, S. (1987b). Average-case results on HEAPSORT, BIT 27, 2–17.
Doberkat, E.E. (1982). Deleting the root of a heap. Acta Informatica 17, 245–265.
Doberkat, E.E. (1984). An average case analysis of Floyd's algorithm to construct heaps. Information and Control 61, 114–131.
Floyd, R.W. (1964). Algorithm 245, treesort 3. Communications of the ACM 7, 701.
McDiarmid, C.J.H. and Reed, B.A. (1989). Building heaps fast. Journal of Algorithms 10, 352–365.
Wegener, I. (1990). BOTTOM-UP-HEAPSORT, a new variant of HEAPSORT beating on average QUICKSORT (if n is not very small). MFCS '90, Lecture Notes in Computer Science 452, 516–522.
Williams, J.W.J. (1964). Algorithm 232. Communication of the ACM 7, 347–348.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wegener, I. (1991). The worst case complexity of MC Diarmid and Reed's variant of BOTTOM-UP-HEAT SORT is less than n log n+1.1n. In: Choffrut, C., Jantzen, M. (eds) STACS 91. STACS 1991. Lecture Notes in Computer Science, vol 480. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0020794
Download citation
DOI: https://doi.org/10.1007/BFb0020794
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-53709-0
Online ISBN: 978-3-540-47002-1
eBook Packages: Springer Book Archive