计算机科学 > 数据结构与算法
[提交于 2017年6月12日]
标题:Linear Hashing is Awesome
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We consider the hash function $h(x) = ((ax+b) \bmod p) \bmod n$ where $a,b$ are chosen uniformly at random from $\{0,1,\ldots,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 $\tilde{O}\!\left(n^{1/3}\right)$. 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].
提交历史
来自:Mathias Bæk Tejs Knudsen[v1] 2017年6月12日 星期一 00:00:00 UTC