English

Time-Space Trade-Offs for Predecessor Search

Computational Complexity 2007-05-23 v1 Data Structures and Algorithms

Abstract

We develop a new technique for proving cell-probe lower bounds for static data structures. Previous lower bounds used a reduction to communication games, which was known not to be tight by counting arguments. We give the first lower bound for an explicit problem which breaks this communication complexity barrier. In addition, our bounds give the first separation between polynomial and near linear space. Such a separation is inherently impossible by communication complexity. Using our lower bound technique and new upper bound constructions, we obtain tight bounds for searching predecessors among a static set of integers. Given a set Y of n integers of l bits each, the goal is to efficiently find predecessor(x) = max{y in Y | y <= x}, by representing Y on a RAM using space S. In external memory, it follows that the optimal strategy is to use either standard B-trees, or a RAM algorithm ignoring the larger block size. In the important case of l = c*lg n, for c>1 (i.e. polynomial universes), and near linear space (such as S = n*poly(lg n)), the optimal search time is Theta(lg l). Thus, our lower bound implies the surprising conclusion that van Emde Boas' classic data structure from [FOCS'75] is optimal in this case. Note that for space n^{1+eps}, a running time of O(lg l / lglg l) was given by Beame and Fich [STOC'99].

Keywords

Cite

@article{arxiv.cs/0603043,
  title  = {Time-Space Trade-Offs for Predecessor Search},
  author = {Mihai Patrascu and Mikkel Thorup},
  journal= {arXiv preprint arXiv:cs/0603043},
  year   = {2007}
}

Comments

29 pages. Full version (preliminary) of a paper appearing in STOC'06

R2 v1 2026-07-22T12:25:17.637Z