{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T17:28:10Z","timestamp":1787506090321,"version":"build-2736575974"},"reference-count":27,"publisher":"Association for Computing Machinery (ACM)","issue":"6","license":[{"start":{"date-parts":[[2007,12,1]],"date-time":"2007-12-01T00:00:00Z","timestamp":1196467200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["J. ACM"],"published-print":{"date-parts":[[2007,12]]},"abstract":"<jats:p>\n                    We present a general deterministic linear space reduction from priority queues to sorting implying that if we can sort up to\n                    <jats:italic>n<\/jats:italic>\n                    keys in\n                    <jats:italic>S<\/jats:italic>\n                    (\n                    <jats:italic>n<\/jats:italic>\n                    ) time per key, then there is a priority queue supporting delete and insert in\n                    <jats:italic>O<\/jats:italic>\n                    (\n                    <jats:italic>S<\/jats:italic>\n                    (\n                    <jats:italic>n<\/jats:italic>\n                    )) 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. Asymptotically, this settles the complexity of priority queues in terms of that of sorting.\n                  <\/jats:p>\n                  <jats:p>Previously, at SODA'96, such a result was presented by the author for the special case of monotone priority queues where the minimum is not allowed to decrease.<\/jats:p>\n                  <jats:p>Besides nailing down the complexity of priority queues to that of sorting, and vice versa, our result yields several improved bounds for linear space integer priority queues with find-min in constant time:<\/jats:p>\n                  <jats:p>\n                    <jats:italic>Deterministically<\/jats:italic>\n                    . We get\n                    <jats:italic>O<\/jats:italic>\n                    (log log\n                    <jats:italic>n<\/jats:italic>\n                    ) update time using a sorting algorithm of Han from STOC'02. This improves the\n                    <jats:italic>O<\/jats:italic>\n                    ((log log\n                    <jats:italic>n<\/jats:italic>\n                    )(log log log\n                    <jats:italic>n<\/jats:italic>\n                    )) update time of Han from SODA'01.\n                  <\/jats:p>\n                  <jats:p>\n                    <jats:italic>Randomized<\/jats:italic>\n                    . We get\n                    <jats:italic>O<\/jats:italic>\n                    (\u221alog log\n                    <jats:italic>n<\/jats:italic>\n                    ) expected update time using a randomized sorting algorithm of Han and Thorup from FOCS'02. This improves the\n                    <jats:italic>O<\/jats:italic>\n                    (log log\n                    <jats:italic>n<\/jats:italic>\n                    ) expected update time of Thorup from SODA'96.\n                  <\/jats:p>\n                  <jats:p>\n                    <jats:italic>\n                      Deterministically in AC\n                      <jats:sup>0<\/jats:sup>\n                      (without multiplication)\n                    <\/jats:italic>\n                    . For any \u03b5 &gt; 0, we get\n                    <jats:italic>O<\/jats:italic>\n                    ((log log\n                    <jats:italic>n<\/jats:italic>\n                    )\n                    <jats:sup>1+\u03b5<\/jats:sup>\n                    ) update time using an AC\n                    <jats:sup>0<\/jats:sup>\n                    sorting algorithm of Han and Thorup from FOCS'02. This improves the\n                    <jats:italic>O<\/jats:italic>\n                    ((log log\n                    <jats:italic>n<\/jats:italic>\n                    )\n                    <jats:sup>2<\/jats:sup>\n                    ) update time of Thorup from SODA'98.\n                  <\/jats:p>\n                  <jats:p>\n                    <jats:italic>\n                      Randomized in AC\n                      <jats:sup>0<\/jats:sup>\n                    <\/jats:italic>\n                    . We get\n                    <jats:italic>O<\/jats:italic>\n                    (log log\n                    <jats:italic>n<\/jats:italic>\n                    ) expected update time using a randomized AC\n                    <jats:sup>0<\/jats:sup>\n                    sorting algorithm of Thorup from SODA'97. This improves the\n                    <jats:italic>O<\/jats:italic>\n                    ((log log\n                    <jats:italic>n<\/jats:italic>\n                    )\n                    <jats:sup>1+\u03b5<\/jats:sup>\n                    ) expected update time of Thorup also from SODA'97.\n                  <\/jats:p>\n                  <jats:p>The above bounds assume that each integer is stored in a single word and that word operations take unit time as in the word RAM.<\/jats:p>","DOI":"10.1145\/1314690.1314692","type":"journal-article","created":{"date-parts":[[2007,12,7]],"date-time":"2007-12-07T14:19:01Z","timestamp":1197037141000},"page":"28","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":25,"title":["Equivalence between priority queues and sorting"],"prefix":"10.1145","volume":"54","author":[{"given":"Mikkel","family":"Thorup","sequence":"first","affiliation":[{"name":"AT&amp;T Labs--Research, Florham Park, New Jersey"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2007,12]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1077464.1077471"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(98)00172-8"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1236457.1236460"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.2002.1822"},{"key":"e_1_2_1_5_1","unstructured":"Comrie L. J. 1929--30. The hollerith and powers tabulating machines. Trans. Office Mach. Users' Assoc. Ltd 25--37.  Comrie L. J. 1929--30. The hollerith and powers tabulating machines. Trans. Office Mach. Users' Assoc. Ltd 25--37."},{"key":"e_1_2_1_6_1","unstructured":"Cormen T. H. Leiserson C. E. Rivest R. L. and Stein C. 2001. Introduction to Algorithms Second ed. The MIT Press Cambridge MA.   Cormen T. H. Leiserson C. E. Rivest R. L. and Stein C. 2001. Introduction to Algorithms Second ed. The MIT Press Cambridge MA."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"e_1_2_1_8_1","first-page":"6","article-title":"Indexing for rapid random access memory systems","volume":"5","author":"Dumey A. I.","year":"1956","journal-title":"Comput. Automat."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1080\/00029890.1959.11989306"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/73007.73040"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(93)90040-4"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(05)80064-9"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.2001.3053"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgor.2003.09.001"},{"key":"e_1_2_1_15_1","volume-title":"Proceedings of the 43rd Symposium on Foundations of Computer Science (FOCS). IEEE Computer Society Press","author":"Han Y."},{"key":"e_1_2_1_16_1","unstructured":"Kernighan B. and Ritchie D. 1988. The C Programming Language Second ed. Prentice-Hall Englewood Cliffs NJ.   Kernighan B. and Ritchie D. 1988. The C Programming Language Second ed. Prentice-Hall Englewood Cliffs NJ."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1198513.1198517"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1002\/j.1538-7305.1957.tb01515.x"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/321879.321884"},{"key":"e_1_2_1_20_1","volume-title":"Proceedings of the 9th Symposium on Discrete Algorithms (SODA). ACM","author":"Thorup M.","year":"1998"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539795288246"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.2002.1211"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/959122.959123"},{"key":"e_1_2_1_24_1","volume-title":"Proceedings of the 14th Symposium on Discrete Algorithms (SODA). ACM","author":"Thorup M.","year":"2003"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.04.003"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797322425"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3828.3839"}],"container-title":["Journal of the ACM"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1314690.1314692","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1314690.1314692","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T09:56:11Z","timestamp":1750240571000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1314690.1314692"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2007,12]]},"references-count":27,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2007,12]]}},"alternative-id":["10.1145\/1314690.1314692"],"URL":"https:\/\/doi.org\/10.1145\/1314690.1314692","relation":{},"ISSN":["0004-5411","1557-735X"],"issn-type":[{"value":"0004-5411","type":"print"},{"value":"1557-735X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2007,12]]},"assertion":[{"value":"2007-12-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}