Proceedings of the Twenty-Third Annual ACM-SIAM Symposium on Discrete Algorithms 2012
DOI: 10.1137/1.9781611973099.86
|View full text |Cite
|
Sign up to set email alerts
|

A Linear Time Algorithm for Seeds Computation

Abstract: A seed in a word is a relaxed version of a period. We show a linear time algorithm computing a compact representation of all the seeds of a word, in particular, the shortest seed. Thus, we solve an open problem stated in the survey by Smyth (2000) and improve upon a previous over 15-year old O(n log n) algorithm by Iliopoulos, Moore and Park (1996). Our approach is based on combinatorial relations between seeds and a variant of the LZ-factorization (used here for the first time in context of seeds).

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
31
0

Year Published

2012
2012
2023
2023

Publication Types

Select...
6
3

Relationship

5
4

Authors

Journals

citations
Cited by 27 publications
(31 citation statements)
references
References 34 publications
0
31
0
Order By: Relevance
“…We considered the generalized on-line variant of the longest common property preserved substring problem proposed by Ayad et al [1,16], and 1) unified the two problem settings, and 2) proposed algorithms for several properties, namely, squares, periodic substrings, palindromes, and Lyndon words. For all these properties, we can answer queries in O(|y| log σ) time and O(1) working space, with O(n) time and space preprocessing.…”
Section: Resultsmentioning
confidence: 99%
“…We considered the generalized on-line variant of the longest common property preserved substring problem proposed by Ayad et al [1,16], and 1) unified the two problem settings, and 2) proposed algorithms for several properties, namely, squares, periodic substrings, palindromes, and Lyndon words. For all these properties, we can answer queries in O(|y| log σ) time and O(1) working space, with O(n) time and space preprocessing.…”
Section: Resultsmentioning
confidence: 99%
“…2. Furthermore, s is called a left seed of w if s is both a prefix and a seed of w. Thus a cover of w is always a left seed of w, and a left seed of w is a seed of w. The notion of seed was introduced in [5] and efficient computation of seeds was further considered in [3,6]. In the proof of our main result we use the following easy observations that are immediate consequences of the definitions of cover and seed.…”
Section: Preliminariesmentioning
confidence: 99%
“…We will show that given CST (w) and CST (w R ) we can compute the representation of all seeds from Lemma 6 in O(n) time. Let us recall auxiliary notions of quasiseed and quasigap, see [19].…”
Section: By-products Of Cover Suffix Treementioning
confidence: 99%