Sorting using heap structure
In this paper we present a new sorting algorithm for heaps which can sort n (=2 h+1 - 1) elements using no more than nlog 2 (n+1) - (13/12)n - 1 element comparisons in the worst case 2 (including the heap creation phase). Experimental results show that this algorithm requires only nlog 2 (n+1) - 1.2...
Saved in:
Published in | International journal of computer mathematics Vol. 77; no. 3; pp. 347 - 354 |
---|---|
Main Authors | , |
Format | Journal Article |
Language | English |
Published |
Abingdon
Gordon and Breach Science Publishers
01.01.2001
Taylor and Francis |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | In this paper we present a new sorting algorithm for heaps which can sort n (=2
h+1
- 1) elements using no more than nlog
2
(n+1) - (13/12)n - 1 element comparisons in the worst case 2 (including the heap creation phase). Experimental results show that this algorithm requires only nlog
2
(n+1) - 1.2n element comparisons in the average case. However it requires extra space for 2 n LINK fields |
---|---|
ISSN: | 0020-7160 1029-0265 |
DOI: | 10.1080/00207160108805071 |