arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.02783cs.DS
收藏

Linear Hashing非常棒

Linear Hashing is Awesome

Mathias Bæk Tejs Knudsen

摘要:

我们考虑散列函数$h(x) = ((ax+b) \bmod p) \bmod n$,其中$a,b$是从$\{0,1,\ldots,p-1\}$中随机均匀选择的。我们证明,当我们使用$h(x)$在哈希与链接插入$n$元素到一个表的大小$n$的最长链的预期长度是$\tilde{O}\!\left(n^{1/3}\right)$。当我们使用Dietzfelbinger等人[Journal of Algorithms 1997]的乘法移位散列函数时,证明也推广到给出相同的界。

英文摘要:

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].

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑