Lune

FOCS2024Top-tier venue

Tight Analyses of Ordered and Unordered Linear Probing

Mark Braverman, William Kuszmaul

2024Year
1Citations
1Top-tier citations

Abstract

Linear-probing hash tables have been classically believed to support insertions in timeΘ(x2)\Theta(x^{2}), where1−1/x1-1/xis 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 most1−1/x1-1/x, then the amortized expected time per insertion will never exceedx polylog xx\ \text{polylog}\ x(even in workloads that operate continuously at a load factor of1−1/x1-1/x). 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Θ(xlog⁡1.5x)\Theta(x\log^{1.5}x). 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.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 288d363d-9aa8-4073-a4e1-56bcb7b5478b

Cited by top-tier papers1

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines