Linear hashing is awesome

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningfagfællebedømt

  • Mathias Bæk Tejs Knudsen

We consider the hash function h(x) = ((ax + b) mod p) mod 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 Õ ( n 1 / 3) . The proof also generalizes to give the same bound when we use the multiply-shift hash function by Dietzfelbinger et al. [J. Algorithms, 25 (1997), pp. 19-51].

OriginalsprogEngelsk
TidsskriftSIAM Journal on Computing
Vol/bind48
Udgave nummer2
Sider (fra-til)736-741
Antal sider6
ISSN0097-5397
DOI
StatusUdgivet - 2019

Links

ID: 223570742