English

Nearly Optimal List Labeling

Data Structures and Algorithms 2024-05-03 v1

Abstract

The list-labeling problem captures the basic task of storing a dynamically changing set of up to nn elements in sorted order in an array of size m=(1+Θ(1))nm = (1 + \Theta(1))n. The goal is to support insertions and deletions while moving around elements within the array as little as possible. Until recently, the best known upper bound stood at O(log2n)O(\log^2 n) amortized cost. This bound, which was first established in 1981, was finally improved two years ago, when a randomized O(log3/2n)O(\log^{3/2} n) expected-cost algorithm was discovered. The best randomized lower bound for this problem remains Ω(logn)\Omega(\log n), and closing this gap is considered to be a major open problem in data structures. In this paper, we present the See-Saw Algorithm, a randomized list-labeling solution that achieves a nearly optimal bound of O(lognpolyloglogn)O(\log n \operatorname{polyloglog} n) amortized expected cost. This bound is achieved despite at least three lower bounds showing that this type of result is impossible for large classes of solutions.

Keywords

Cite

@article{arxiv.2405.00807,
  title  = {Nearly Optimal List Labeling},
  author = {Michael A. Bender and Alex Conway and Martín Farach-Colton and Hanna Komlós and Michal Koucký and William Kuszmaul and Michael Saks},
  journal= {arXiv preprint arXiv:2405.00807},
  year   = {2024}
}

Comments

39 pages

R2 v1 2026-06-28T16:13:13.369Z