Skip to main navigation Skip to search Skip to main content

Tight Analyses of Ordered and Unordered Linear Probing

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Linear-probing hash tables have been classically believed to support insertions in time Θ(x2), where 1-1x is the load factor of the hash table. Recent work by Bender, Kuszmaul, and Kuszmaul (FOCS'21), however, has added a new twist to this story: in some versions of linear probing, if the maximum load factor is at most 1-1x, then the amortized expected time per insertion will never exceed x polylog x (even in workloads that operate continuously at a load factor of 1-1x). Determining the exact asymptotic value for the amortized insertion time remains open. In this paper, we settle the amortized complexity with matching upper and lower bounds of Θ(xlog1.5x). Along the way, we also obtain tight bounds for the so-called path surplus problem, a problem in combinatorial geometry that has been shown to be closely related to linear probing. We also show how to extend Bender et al.'s bounds to say something not just about ordered linear probing (the version they study) but also about classical linear probing, in the form that is most widely implemented in practice.

Original languageEnglish (US)
Title of host publicationProceedings - 2024 IEEE 65th Annual Symposium on Foundations of Computer Science, FOCS 2024
PublisherIEEE Computer Society
Pages606-635
Number of pages30
ISBN (Electronic)9798331516741
DOIs
StatePublished - 2024
Externally publishedYes
Event65th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024 - Chicago, United States
Duration: Oct 27 2024Oct 30 2024

Publication series

NameProceedings - Annual IEEE Symposium on Foundations of Computer Science, FOCS
ISSN (Print)0272-5428

Conference

Conference65th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024
Country/TerritoryUnited States
CityChicago
Period10/27/2410/30/24

All Science Journal Classification (ASJC) codes

  • General Computer Science

Keywords

  • data structures
  • hash tables
  • linear probing
  • randomized algorithms
  • robin hood hashing

Fingerprint

Dive into the research topics of 'Tight Analyses of Ordered and Unordered Linear Probing'. Together they form a unique fingerprint.

Cite this