Skip to main navigation Skip to search Skip to main content

Simplified complexity analysis of McDiarmid and Reed's variant of BOTTOM-UP-HEAPSORT

  • Bangladesh University of Engineering and Technology

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

McDiarmid and Reed (1989) presented a variant of BOTTOM-UP-HEAPSORT which requires nlog2n+n element comparisons (for n = 2h+1 - 1) in the worst case, but requires an extra storage of n bits. Ingo Wegener (1992) has analyzed the average and worst case complexity of the algorithm which is very complex and long. In this paper we present a simplified complexity analysis of the same algorithm from a different viewpoint. For n = 2h+1 - 1, we show that it requires nlog2n+n element comparisons in the worst case and nlog2n+0.42n comparisons on the average.

Original languageEnglish
Pages (from-to)293-297
Number of pages5
JournalInternational Journal of Computer Mathematics
Volume73
Issue number3
DOIs
StatePublished - 2000

Fingerprint

Dive into the research topics of 'Simplified complexity analysis of McDiarmid and Reed's variant of BOTTOM-UP-HEAPSORT'. Together they form a unique fingerprint.

Cite this