Online List Labeling: Breaking the log2n Barrier
Michael A. Bender, Alex Conway, Martin Farach-Colton, Hanna Komlós, William Kuszmaul, Nicole Wein
Abstract
The online list-labeling problem is an algorithmic primitive with a large literature of upper bounds, lower bounds, and applications. The goal is to store a dynamically-changing set of n items in an array of m slots, while maintaining the invariant that the items appear in sorted order, and while minimizing the relabeling cost, defined to be the number of items that are moved per insertion/deletion. For the linear regime, where , an upper bound of on the relabeling cost has been known since 1981. A lower bound of is known for deterministic algorithms and for so-called smooth algorithms, but the best general lower bound remains . The central open question in the field is whether is optimal for all algorithms. In this paper, we give a randomized data structure that achieves an expected relabeling cost of per operation. More generally, if for , the expected relabeling cost becomes . Our solution is history independent, meaning that the state of the data structure is independent of the order in which items are inserted/deleted. For history-independent data structures, we also prove a matching lower bound: for all between and some sufficiently small positive constant, the optimal expected cost for history-independent list-labeling solutions is .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Strongly History-Independent Storage Allocation: New Upper and Lower BoundsWilliam KuszmaulFOCS 2023 · 7 citations
- Succinct Dynamic Rank/Select: Bypassing the Tree-Structure BottleneckWilliam Kuszmaul, Jingxun Liang, Renfei ZhouSODA 2026 · 1 citation
- Nearly Optimal List LabelingMichael A. Bender, Alex Conway, Martín Farach-Colton, Hanna Komlós et al.FOCS 2024 · 1 citation
- History-Independent Concurrent Hash TablesHagit Attiya, Michael A. Bender, Martín Farach-Colton, Rotem Oshman et al.STOC 2025 · 1 citation
- Separations between Oblivious and Adaptive Adversaries for Natural Dynamic Graph ProblemsAaron Bernstein, Sayan Bhattacharya, Nick Fischer, Peter Kiss et al.SODA 2026
Builds on2
Related papers
- Online List Labeling with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghNeurIPS 2023 · 9 citations
- Nearly Optimal Bounds for Stochastic Online SortingYang HuSODA 2026
- Tight Bounds for Online Graph PartitioningMonika Henzinger, Stefan Neumann, Harald Räcke, Stefan SchmidSODA 2021 · 12 citations
- List Update with PredictionYossi Azar, Shahar Lewkowicz, Varun SuriyanarayanaAAAI 2025 · 4 citations
- A Randomized Caching Algorithm for Distributed Data AccessTianyu Zuo, Xueyan Tang, Bu-Sung LeeINFOCOM 2024 · 3 citations
