Abstract

Internal pattern matching requires one to answer queries about factors of a given string. Many results are known on answering internal period queries, asking for the periods of a given factor. In this paper we investigate (for the first time) internal queries asking for covers (also known as quasiperiods) of a given factor. We propose a data structure that answers such queries in O(log⁡nlog⁡log⁡n)O(\log n \log \log n) time for the shortest cover and in O(log⁡n(log⁡log⁡n)2)O(\log n (\log \log n)^2) time for a representation of all the covers, after O(nlog⁡n)O(n \log n) time and space preprocessing.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.