arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1504.02671cs.DS
收藏

次线性空间中的最长公共扩张

Longest Common Extensions in Sublinear Space

Philip Bille, Inge Li Gørtz, Mathias Bæk Tejs Knudsen, Moshe Lewenstein, Hjalte Wedel Vildhøj

摘要:

最长公共扩展问题(LCE问题)是为长度为$n$的输入字符串$T$构造支持LCE $(i,j)$查询的数据结构。这样的查询返回从$T$中的位置$i$和$j$开始的后缀的最长公共前缀的长度。这个经典问题有一个众所周知的解决方案,它使用$O(n)$空间和$O(1)$查询时间。在本文中,我们表明,对于任何权衡参数$1 \leq τ\leq n$,该问题可以解决在$O(\frac{n}τ)$空间和$O(τ)$查询时间。这显著地改进了先前最佳已知的时间-空间权衡,并且几乎匹配最佳已知的时间-空间乘积下限。

英文摘要:

The longest common extension problem (LCE problem) is to construct a data structure for an input string $T$ of length $n$ that supports LCE$(i,j)$ queries. Such a query returns the length of the longest common prefix of the suffixes starting at positions $i$ and $j$ in $T$. This classic problem has a well-known solution that uses $O(n)$ space and $O(1)$ query time. In this paper we show that for any trade-off parameter $1 \leq τ\leq n$, the problem can be solved in $O(\frac{n}τ)$ space and $O(τ)$ query time. This significantly improves the previously best known time-space trade-offs, and almost matches the best known time-space product lower bound.

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

↑