English

Worst-Case Optimal Priority Queues via Extended Regular Counters

Data Structures and Algorithms 2011-12-06 v1

Abstract

We consider the classical problem of representing a collection of priority queues under the operations \Findmin{}, \Insert{}, \Decrease{}, \Meld{}, \Delete{}, and \Deletemin{}. In the comparison-based model, if the first four operations are to be supported in constant time, the last two operations must take at least logarithmic time. Brodal showed that his worst-case efficient priority queues achieve these worst-case bounds. Unfortunately, this data structure is involved and the time bounds hide large constants. We describe a new variant of the worst-case efficient priority queues that relies on extended regular counters and provides the same asymptotic time and space bounds as the original. Due to the conceptual separation of the operations on regular counters and all other operations, our data structure is simpler and easier to describe and understand. Also, the constants in the time and space bounds are smaller. In addition, we give an implementation of our structure on a pointer machine. For our pointer-machine implementation, \Decrease{} and \Meld{} are asymptotically slower and require O(lglgn)O(\lg\lg{n}) worst-case time, where nn denotes the number of elements stored in the resulting priority queue.

Keywords

Cite

@article{arxiv.1112.0993,
  title  = {Worst-Case Optimal Priority Queues via Extended Regular Counters},
  author = {Amr Elmasry and Jyrki Katajainen},
  journal= {arXiv preprint arXiv:1112.0993},
  year   = {2011}
}
R2 v1 2026-06-21T19:46:28.944Z