English

Linear Hashing Is Optimal

Data Structures and Algorithms 2025-05-21 v1 Computational Complexity

Abstract

We prove that hashing nn balls into nn bins via a random matrix over F2\mathbf{F}_2 yields expected maximum load O(logn/loglogn)O(\log n / \log \log n). This matches the expected maximum load of a fully random function and resolves an open question posed by Alon, Dietzfelbinger, Miltersen, Petrank, and Tardos (STOC '97, JACM '99). More generally, we show that the maximum load exceeds rlogn/loglognr\cdot\log n/\log\log n with probability at most O(1/r2)O(1/r^2).

Keywords

Cite

@article{arxiv.2505.14061,
  title  = {Linear Hashing Is Optimal},
  author = {Michael Jaber and Vinayak M. Kumar and David Zuckerman},
  journal= {arXiv preprint arXiv:2505.14061},
  year   = {2025}
}

Comments

20 pages, 1 figure; to appear in STOC 2025

R2 v1 2026-07-01T02:24:21.265Z