2016
DOI: 10.1016/j.tcs.2015.08.023
|View full text |Cite
|
Sign up to set email alerts
|

Computing minimal and maximal suffixes of a substring

Abstract: We consider the problems of computing the maximal and the minimal non-empty suffixes of substrings of a longer text of length n. For the minimal suffix problem we show that for every τ , 1 ≤ τ ≤ log n, there exists a linear-space data structure with O(τ) query time and O(n log n/τ) preprocessing time. As a sample application, we show that this data structure can be used to compute the Lyndon decomposition of any substring of the text in O(kτ) time, where k is the number of distinct factors in the decomposition… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
14
0

Year Published

2016
2016
2023
2023

Publication Types

Select...
3
3
1

Relationship

2
5

Authors

Journals

citations
Cited by 10 publications
(14 citation statements)
references
References 16 publications
0
14
0
Order By: Relevance
“…For both problems we obtain optimal solutions with linear construction time and constant query time. For Minimal Suffix Queries this improves upon the results of Babenko et al [5], who developed a trade-off solution, which for a text of length n has Θ(n log n) product of preprocessing and query time. We are not aware of any results for Minimal Rotation Queries except for a data structure only testing cyclic equivalence of two subwords [26].…”
Section: Minimal Rotation Queriesmentioning
confidence: 55%
See 2 more Smart Citations
“…For both problems we obtain optimal solutions with linear construction time and constant query time. For Minimal Suffix Queries this improves upon the results of Babenko et al [5], who developed a trade-off solution, which for a text of length n has Θ(n log n) product of preprocessing and query time. We are not aware of any results for Minimal Rotation Queries except for a data structure only testing cyclic equivalence of two subwords [26].…”
Section: Minimal Rotation Queriesmentioning
confidence: 55%
“…An optimal solution for the Maximal Suffix Queries was already obtained in [5], while the Maximal Rotation Queries are equivalent to Minimal Rotation Queries subject to alphabet reversal. Hence, we do not focus on the maximization variants of our problems.…”
Section: Minimal Rotation Queriesmentioning
confidence: 99%
See 1 more Smart Citation
“…A natural direction after having determined the complexity of a particular problem on strings is to consider the more general version in which we need to answer queries on substrings of the input string. This has been done for alignment [34,35], pattern matching [24,28], approximate pattern matching [17], dictionary matching [14,15], compression [24], periodicity [27,28], counting palindromes [33], longest common substring [3], computing minimal and maximal suffixes [5,26], and computing the lexicographically k-th suffix [4].…”
Section: Introductionmentioning
confidence: 99%

An Almost Optimal Edit Distance Oracle

Charalampopoulos,
Gawrychowski,
Mozes
et al. 2021
Preprint
Self Cite
“…Lyndon factors enjoy a rich class of algorithmic and stringology applications including: counting and finding the maximal repetitions (a.k.a. runs) in a string [2] and in a trie [8], constant-space pattern matching [3], comparison of the sizes of run-length Burrows-Wheeler Transform of a sting and its reverse [4], substring minimal suffix queries [1], the shortest common superstring problem [7], and grammar-compressed self-index (Lyndon-SLP) [9].…”
Section: Introductionmentioning
confidence: 99%

Counting Lyndon Subsequences

Hirakawa,
Nakashima,
Inenaga
et al. 2021
Preprint