计算机科学 > 数据结构与算法
[提交于 2025年8月4日]
标题:Testing Quasiperiodicity
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A cover (or quasiperiod) of a string $S$ is a shorter string $C$ such that every position of $S$ is contained in some occurrence of $C$ as a substring. The notion of covers was introduced by Apostolico and Ehrenfeucht over 30 years ago [Theor. Comput. Sci. 1993] and it has received significant attention from the combinatorial pattern matching community. In this note, we show how to efficiently test whether $S$ admits a cover. Our tester can also be translated into a streaming algorithm.
提交历史
来自:Ben Bals[v1] 2025年8月4日 星期一 09:31:09 UTC