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

在线查找不同的次回文

Finding Distinct Subpalindromes Online

Dmitry Kosolobov, Mikhail Rubinchik, Arseny M. Shur

摘要:

我们展示了一个在线算法,发现所有不同的回文内一个给定的字符串在时间$Θ(n\log|Σ|)$在一个有序的字母表和时间$Θ(n|Σ|)$在一个无序的字母表。使用减少从字典一样的数据结构,我们证明了该算法的最优性在基于比较的计算模型。

英文摘要:

We exhibit an online algorithm finding all distinct palindromes inside a given string in time $Θ(n\log|Σ|)$ over an ordered alphabet and in time $Θ(n|Σ|)$ over an unordered alphabet. Using a reduction from a dictionary-like data structure, we prove the optimality of this algorithm in the comparison-based computation model.

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

↑