<scp>ExpoSort</scp> : Breaking the quasi-polynomial-time barrier for reluctant sorting

We introduce the algorithm ExpoSort, a groundbreaking method that sorts an array of n numbers in a spectacularly inefficient Θ(2 n ) time. ExpoSort proudly claims the title of the first reluctant algorithm to decisively surpass the quasi-polynomial running time Ω( n log n/(2+ε) ) of the notoriously sluggish SlowSort algorithm by Broder and Stolfi [ACM SIGACT News, 1984]. In the ongoing quest for the slowest possible sort, ExpoSort redefines what it means to take one's time. Remarkably, ExpoSort achieves this feat with one of the simplest pseudocodes among all known sorting algorithms. However, a slight modification-merely moving one recursive call inside an if statement- transforms ExpoSort into an astonishingly well-camouflaged variant of the classic InsertionSort with best- and worst-case running times of Θ(n) and Θ(n 3 ), respectively. This dual nature of ExpoSort serves as a reminder of the utmost care required when crafting pessimal algorithms, where a slight lapse in judgment could result in accidentally producing an embarrassingly practical algorithm.

Authors

Institutions

Publication Details

Journal
ACM SIGACT News
Published
2024-12-27
DOI
https://doi.org/10.1145/3710795.3710805
Primary Topic
Green IT and Sustainability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ExpoSort : Breaking the quasi-polynomial-time barrier for reluctant sorting

Mikkel Abrahamsen
ACM SIGACT News
Green IT and Sustainability
article

ExpoSort : Breaking the quasi-polynomial-time barrier for reluctant sorting

Mikkel Abrahamsen
article en

Abstract

We introduce the algorithm ExpoSort, a groundbreaking method that sorts an array of n numbers in a spectacularly inefficient Θ(2 n ) time. ExpoSort proudly claims the title of the first reluctant algorithm to decisively surpass the quasi-polynomial running time Ω( n log n/(2+ε) ) of the notoriously sluggish SlowSort algorithm by Broder and Stolfi [ACM SIGACT News, 1984]. In the ongoing quest for the slowest possible sort, ExpoSort redefines what it means to take one's time. Remarkably, ExpoSort achieves this feat with one of the simplest pseudocodes among all known sorting algorithms. However, a slight modification-merely moving one recursive call inside an if statement- transforms ExpoSort into an astonishingly well-camouflaged variant of the classic InsertionSort with best- and worst-case running times of Θ(n) and Θ(n 3 ), respectively. This dual nature of ExpoSort serves as a reminder of the utmost care required when crafting pessimal algorithms, where a slight lapse in judgment could result in accidentally producing an embarrassingly practical algorithm.

ACM SIGACT NewsVol. 55(4)
University of Copenhagen (DK)
Peace, Justice and strong institutions
Openalex Percentile: Top 78%
Green IT and Sustainability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

<scp>ExpoSort</scp> : Breaking the quasi-polynomial-time barrier for reluctant sorting — Mikkel Abrahamsen · ACM SIGACT News (2024) | TGRS Research Map | TGRS