Skip to main navigation Skip to search Skip to main content

Optimal Non-oblivious Open Addressing

  • Carnegie Mellon University
  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

A hash table is said to be open-addressed (or non-obliviously open-addressed) if it stores elements (and free slots) in an array with no additional metadata. Intuitively, open-addressed hash tables must incur a space-time tradeoff: The higher the load factor at which the hash table operates, the longer insertions/deletions/queries should take. In this paper, we show that no such tradeoff exists: It is possible to construct an open-addressed hash table that supports constant-time operations even when the hash table is entirely full. In fact, it is even possible to construct a version of this data structure that: (1) is dynamically resized so that the number of slots in memory that it uses, at any given moment, is the same as the number of elements it contains; (2) supports O(1)-time operations, not just in expectation, but with high probability; and (3) requires external access to just O(1) hash functions that are each just O(1)-wise independent. Our results complement a recent lower bound by Bender, Kuszmaul, and Zhou showing that oblivious open-addressed hash tables must incur ω(loglogϵ-1)-time operations. The hash tables in this paper are non-oblivious, which is why they are able to bypass the previous lower bound.

Original languageEnglish
Title of host publicationSTOC 2025 - Proceedings of the 57th Annual ACM Symposium on Theory of Computing
EditorsMichal Koucky, Nikhil Bansal
PublisherAssociation for Computing Machinery
Pages268-277
Number of pages10
ISBN (Electronic)9798400715105
DOIs
StatePublished - Jun 15 2025
Event57th Annual ACM Symposium on Theory of Computing, STOC 2025 - Prague, Czech Republic
Duration: Jun 23 2025Jun 27 2025

Publication series

NameProceedings of the Annual ACM Symposium on Theory of Computing
ISSN (Print)0737-8017

Conference

Conference57th Annual ACM Symposium on Theory of Computing, STOC 2025
Country/TerritoryCzech Republic
CityPrague
Period06/23/2506/27/25

Keywords

  • Data Structures
  • Hash Tables
  • Open Addressing

Fingerprint

Dive into the research topics of 'Optimal Non-oblivious Open Addressing'. Together they form a unique fingerprint.

Cite this