SIAM Journal on Computing
An implicit binomial queue with constant insertion time
No. 318 on SWAT 88: 1st Scandinavian workshop on algorithm theory
A characterization of heaps and its applications
Information and Computation
Purely functional data structures
Purely functional data structures
A data structure for manipulating priority queues
Communications of the ACM
A programming and problem-solving seminar
A programming and problem-solving seminar
Black box for constant-time insertion in priority queues (note)
ACM Transactions on Algorithms (TALG)
Acta Informatica
ACM Transactions on Algorithms (TALG)
Introduction to Algorithms, Third Edition
Introduction to Algorithms, Third Edition
Hi-index | 0.00 |
We introduce a new number system that supports increments with a constant number of digit changes. We also give a simple method that extends any number system supporting increments to support decrements using the same number of digit changes. In the new number system the weight of the ith digit is 2i-1, and hence we can implement a priority queue as a forest of heap-ordered complete binary trees. The resulting data structure guarantees O(1) worst-case cost per insert and O(lg n) worst-case cost per delete, where n is the number of elements stored.