English

Tight Bounds for Classical Open Addressing

Data Structures and Algorithms 2024-09-18 v1

Abstract

We introduce a classical open-addressed hash table, called rainbow hashing, that supports a load factor of up to 1ε1 - \varepsilon, while also supporting O(1)O(1) expected-time queries, and O(loglogε1)O(\log \log \varepsilon^{-1}) expected-time insertions and deletions. We further prove that this tradeoff curve is optimal: any classical open-addressed hash table that supports load factor 1ε1 - \varepsilon must incur Ω(loglogε1)\Omega(\log \log \varepsilon^{-1}) expected time per operation. Finally, we extend rainbow hashing to the setting where the hash table is dynamically resized over time. Surprisingly, the addition of dynamic resizing does not come at any time cost -- even while maintaining a load factor of 1ε\ge 1 - \varepsilon at all times, we can support O(1)O(1) queries and O(loglogε1)O(\log \log \varepsilon^{-1}) updates. Prior to our work, achieving any time bounds of the form o(ε1)o(\varepsilon^{-1}) for all of insertions, deletions, and queries simultaneously remained an open question.

Keywords

Cite

@article{arxiv.2409.11280,
  title  = {Tight Bounds for Classical Open Addressing},
  author = {Michael A. Bender and William Kuszmaul and Renfei Zhou},
  journal= {arXiv preprint arXiv:2409.11280},
  year   = {2024}
}

Comments

40 pages, 3 figures, in FOCS 2024

R2 v1 2026-06-28T18:47:57.738Z