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

每个键亚常数浪费比特的动态字典

Dynamic Dictionary with Subconstant Wasted Bits per Key

Tianxiao Li, Jingxun Liang, Huacheng Yu, Renfei Zhou

AI总结:

本文研究冗余比特为亚线性时的动态字典,提出两种数据结构,使所有操作时间达到 O(log^* n + log(n/R)),匹配已知下界。

摘要:

字典一直是数据结构中的核心问题之一。字典数据结构在插入和删除操作下维护一组键值对,使得给定查询键时,数据结构能高效地返回其值。最先进的字典 [Bender, Farach-Colton, Kuszmaul, Kuszmaul, Liu 2022] 存储 n 个键值对时仅使用 O(n log^{(k)} n) 比特的冗余,并且对于 k ≤ log^* n,所有操作可在 O(k) 时间内完成。最近该结果被证明是最优的 [Li, Liang, Yu, Zhou 2023b]。本文研究冗余比特 R=o(n) 的情形,并证明当 R 至少为 n/poly log n 时,所有操作可在 O(log^* n + log (n/R)) 时间内完成,与该情形下的下界相匹配 [Li, Liang, Yu, Zhou 2023b]。我们根据 R 所处的范围提出两种数据结构。对于 R<n/log^{0.1} n 的数据结构利用了 [Berger, Kuszmaul, Polak, Tidor, Wein 2022] 和 [Li, Liang, Yu, Zhou 2023a] 中所研究的适配器的推广。对于 R ≥ n/log^{0.1} n 的数据结构则基于递归散列到具有对数大小的桶中。

英文摘要:

Dictionaries have been one of the central questions in data structures. A dictionary data structure maintains a set of key-value pairs under insertions and deletions such that given a query key, the data structure efficiently returns its value. The state-of-the-art dictionaries [Bender, Farach-Colton, Kuszmaul, Kuszmaul, Liu 2022] store $n$ key-value pairs with only $O(n \log^{(k)} n)$ bits of redundancy, and support all operations in $O(k)$ time, for $k \leq \log^* n$. It was recently shown to be optimal [Li, Liang, Yu, Zhou 2023b]. In this paper, we study the regime where the redundant bits is $R=o(n)$, and show that when $R$ is at least $n/\text{poly}\log n$, all operations can be supported in $O(\log^* n + \log (n/R))$ time, matching the lower bound in this regime [Li, Liang, Yu, Zhou 2023b]. We present two data structures based on which range $R$ is in. The data structure for $R<n/\log^{0.1} n$ utilizes a generalization of adapters studied in [Berger, Kuszmaul, Polak, Tidor, Wein 2022] and [Li, Liang, Yu, Zhou 2023a]. The data structure for $R \geq n/\log^{0.1} n$ is based on recursively hashing into buckets with logarithmic sizes.

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

↑