An average case analysis of Floyd's algorithm to construct heaps
Information and Control
A variant of Heapsort with almost optimal number of comparisons
Information Processing Letters
Journal of Algorithms
Communications of the ACM
Hi-index | 0.00 |
BOTTOM-UP HEAPSORT is a variant of HEAPSORT which beats on average even the clever variants of QUICKSORT, if n is not very small. Up to now, the worst case complexity of BOTTOM-UP HEAPSORT has been able to be estimated only by 1.5n log n. McDiarmid and Reed (1989) have presented a variant of BOTTOM-UP HEAPSORT 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.1 n. It is discussed how many comparisons can be saved on average.