English

Strictly Implicit Priority Queues: On the Number of Moves and Worst-Case Time

Data Structures and Algorithms 2015-05-04 v1

Abstract

The binary heap of Williams (1964) is a simple priority queue characterized by only storing an array containing the elements and the number of elements nn - here denoted a strictly implicit priority queue. We introduce two new strictly implicit priority queues. The first structure supports amortized O(1)O(1) time Insert and O(logn)O(\log n) time ExtractMin operations, where both operations require amortized O(1)O(1) element moves. No previous implicit heap with O(1)O(1) time Insert supports both operations with O(1)O(1) moves. The second structure supports worst-case O(1)O(1) time Insert and O(logn)O(\log n) time (and moves) ExtractMin operations. Previous results were either amortized or needed O(logn)O(\log n) bits of additional state information between operations.

Keywords

Cite

@article{arxiv.1505.00147,
  title  = {Strictly Implicit Priority Queues: On the Number of Moves and Worst-Case Time},
  author = {Gerth Stølting Brodal and Jesper Sindahl Nielsen and Jakob Truelsen},
  journal= {arXiv preprint arXiv:1505.00147},
  year   = {2015}
}

Comments

To appear at WADS 2015