paper

Tight Bounds for Classical Open Addressing

arXiv:2409.11280

Abstract

We introduce a classical open-addressed hash table, called rainbow hashing, that supports a load factor of up to , while also supporting expected-time queries, and expected-time insertions and deletions. We further prove that this tradeoff curve is optimal: any classical open-addressed hash table that supports load factor must incur 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 at all times, we can support queries and updates. Prior to our work, achieving any time bounds of the form for all of insertions, deletions, and queries simultaneously remained an open question.

40 pages, 3 figures, in FOCS 2024

Tight Bounds for Classical Open Addressing · wovepaper