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 language | English |
|---|---|
| Pages (from-to) | 293-297 |
| Number of pages | 5 |
| Journal | International Journal of Computer Mathematics |
| Volume | 73 |
| Issue number | 3 |
| DOIs | |
| State | Published - 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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver