计算机科学 > 数据结构与算法
[提交于 2013年5月11日]
标题:Finding Distinct Subpalindromes Online
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We exhibit an online algorithm finding all distinct palindromes inside a given string in time $\Theta(n\log|\Sigma|)$ over an ordered alphabet and in time $\Theta(n|\Sigma|)$ 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.
提交历史
来自:Dmitry Kosolobov[v1] 2013年5月11日 星期六 20:33:09 UTC