Arrow Research search
Back to FOCS

FOCS 2002

Equivalence between Priority Queues and Sorting

Conference Paper Session 2B Algorithms and Complexity ยท Theoretical Computer Science

Abstract

We present a general deterministic linear space reduction from priority queues to sorting implying that if we can sort up to n keys in S(n) time per key, then there is a priority queue supporting delete and insert in S(n)+O(1) time and find-min in constant time. Conversely, a priority queue can trivially be used for sorting: first insert all keys to be sorted, then extract them in sorted order by repeatedly deleting the minimum. Hence, asymptotically this settles the complexity of priority queues in terms of that of sorting. Besides nailing down the complexity of priority queues to that of sorting, and vice versa, we translate known sorting results into new results on priority queues for integers and strings in different computational models.

Authors

Keywords

  • Sorting
  • Data structures
  • Read-write memory
  • Laboratories
  • Computational modeling
  • Operating systems
  • Processor scheduling
  • Greedy algorithms
  • Scheduling algorithm
  • Costs
  • Priority Queue
  • Time Constant
  • Total Size
  • Physiological pH
  • Standard Operating
  • Exponential Distribution
  • Spending Time
  • Scanning Process
  • Update Step
  • Update Time
  • Merging Process
  • Number Of Keys

Context

Venue
IEEE Symposium on Foundations of Computer Science
Archive span
1975-2025
Indexed papers
3809
Paper id
90494226793638143
v2026.09.13