Equivalence between priority queues and sorting

20Citations
Citations of this article
22Readers
Mendeley users who have this article in their library.
Get full text

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.

Cite

CITATION STYLE

APA

Thorup, M. (2002). Equivalence between priority queues and sorting. In Annual Symposium on Foundations of Computer Science - Proceedings (pp. 125–134). https://doi.org/10.1007/978-3-642-27848-8_127-2

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free