ACM Home Page
Please provide us with feedback. Feedback
The complexity of heaps
Full text PdfPdf (886 KB)
Source Symposium on Discrete Algorithms archive
Proceedings of the third annual ACM-SIAM symposium on Discrete algorithms table of contents
Orlando, Florida, United States
Pages: 393 - 402  
Year of Publication: 1992
ISBN:0-89791-466-X
Authors
Sponsors
SIAM : Society for Industrial and Applied Mathematics
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
Society for Industrial and Applied Mathematics  Philadelphia, PA, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 38,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   

ABSTRACT

In this paper, we investigate the complexity of heaps. In particular, we study the construction problem and the search problem for heaps. We derive an adversary-based lower bound for the heap construction problem. It is shown that 1.5(n + 1)–log(n + 1)–2 comparisons are necessary to construct a heap of size n in the worst case. This is the first non-trivial adversary lower bound for this problem, which improves the previous best lower bound based on an information theoretical argument for the heap construction. Furthermore, we prove fairly trivial tight upper and lower bounds on the number of comparisons needed to search for a given element in a heap. An optimal 3/4n-time search algorithm is presented. Our lower bound for searching is also demonstrated by an adversary argument, which improves the information theory bound for the problem as well.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
M. Aigner: Producing posets. Discrete Mathematics 35 (1981), 1-15.
 
2
M. J. Atallah and S. R. Kosaraju' An adversary-based lower bound for sorting. Information Processing Letters 13 (1981), 55- 57.
 
3
M. D. Atkinson: The complexity of orders. Proceedings of the NATO Advanced Study Institute on Algorithms and Orders (1987), 195-230.
4
 
5
B. Bollob~s and I. Simon: Repeated random insertion into a priority queue. Journal of Algorithms 6 (1985), 466~477.
 
6
 
7
S. Carlsson and J. Chen: A new lower bound for heap construction. Technical Report LU- CS-TR:90-67, Department of Computer Science, Lund University, 1990.
 
8
J. Chen, S. Carlsson and Th. Strothotte: Bounds for Producing Partial Orders. Proceedings of the International Conference for Young Computer Scientists (1991), 275-279.
 
9
10
11
 
12
 
13
 
14
 
15
 
16
A. Sch5nhage: The production of partial orders. Astdrisque 38-39 (1976), 229-246.
 
17
A. Sch5nhage, M. Paterson and N. Pippenger: Finding the median. Journal of Computer and System Sciences 13 (1976), 184-199.
 
18
J. W. J. Williams: Algorithm 232: Heapsort. Communications of the ACM 7 (1964), 347- 348.
 
19

Collaborative Colleagues:
Svante Carlsson: colleagues
Jingsen Chen: colleagues

Peer to Peer - Readers of this Article have also read: