Linear Hashing is Awesome

Abstract

We consider the hash function h(x) = ((ax+b) p) n where a,b are chosen uniformly at random from \0,1,…,p-1\. We prove that when we use h(x) in hashing with chaining to insert n elements into a table of size n the expected length of the longest chain is O\!(n1/3). The proof also generalises to give the same bound when we use the multiply-shift hash function by Dietzfelbinger et al. [Journal of Algorithms 1997].

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…