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

最长公圆因子的拟线性时间算法

Quasi-Linear-Time Algorithm for Longest Common Circular Factor

Mai Alzamel, Maxime Crochemore, Costas S. Iliopoulos, Tomasz Kociumaka, Jakub Radoszewski, Wojciech Rytter, Juliusz Straszyński, Tomasz Waleń, Wiktor Zuba

摘要:

我们引入最长公共循环因子(LCCF)问题,其中,给定长度为$n$的字符串$S$和$T$,我们要计算$S$的最长因子,其循环移位作为$T$的因子发生。它是一种新的相似性度量,是经典的最长公因子的扩展。我们展示了如何在$O(n \log^5 n)$时间内解决LCCF问题。

英文摘要:

We introduce the Longest Common Circular Factor (LCCF) problem in which, given strings $S$ and $T$ of length $n$, we are to compute the longest factor of $S$ whose cyclic shift occurs as a factor of $T$. It is a new similarity measure, an extension of the classic Longest Common Factor. We show how to solve the LCCF problem in $O(n \log^5 n)$ time.

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

↑