Heaps on Heaps (Q3756520)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 4005614
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Heaps on Heaps |
scientific article; zbMATH DE number 4005614 |
Statements
Heaps on Heaps (English)
0 references
1986
0 references
complexity of comparison based problems
0 references
priority queue operations on a heap
0 references
lower bounds
0 references
0.8462001085281372
0 references
0.8437688946723938
0 references
0.8400254249572754
0 references
As part of a study of the general issue of complexity of comparison based problems, as well as interest in the specific problem, we consider the task of performing the basic priority queue operations on a heap. We show that in the worst case: lg lg \(n\pm O(1)\) comparisons are necessary and sufficient to insert an element into a heap. (This improves the previous upper and lower bounds of lg n and O(1).) lg n\(+\log^*n\pm O(1)\) comparisons are necessary and sufficient to replace the maximum in a heap. (This improves the previous upper and lower bounds of 2 lg n and lg n.) 1.625n\(+O(lg n \log^*n)\) comparisons are sufficient to create a heap. 1.37... n comparisons are necessary not only in the worst case but also on the average. Here lg indicates the logarithm base 2 and \(\log^*\) denotes the iterated logarithm or number of times the logarithm base 2 may be taken before the quantity is at most 0.
0 references