Faster longest common extension queries in strings over general alphabets
From MaRDI portal
Publication:5369537
Abstract: Longest common extension queries (often called longest common prefix queries) constitute a fundamental building block in multiple string algorithms, for example computing runs and approximate pattern matching. We show that a sequence of LCE queries for a string of size over a general ordered alphabet can be realized in time making only symbol comparisons. Consequently, all runs in a string over a general ordered alphabet can be computed in time making symbol comparisons. Our results improve upon a solution by Kosolobov (Information Processing Letters, 2016), who gave an algorithm with running time and conjectured that time is possible. We make a significant progress towards resolving this conjecture. Our techniques extend to the case of general unordered alphabets, when the time increases to . The main tools are difference covers and the disjoint-sets data structure.
Recommendations
Cited in
(15)- On the size of the smallest alphabet for Lyndon trees
- Cartesian and Lyndon trees
- Longest property-preserved common factor: a new string-processing framework
- Computing longest common extensions in partial words
- Computing runs on a trie
- Optimal bounds for computing \({\alpha}\)-gapped repeats
- Searching runs in streams
- Near-optimal quantum algorithms for string problems
- Small-space LCE data structure with constant-time queries
- Almost linear time computation of maximal repetitions in run length encoded strings
- Tight lower bounds for the longest common extension problem
- Time-Space Trade-Offs for Longest Common Extensions
- Practical Performance of Space Efficient Data Structures for Longest Common Extensions.
- Absent Subsequences in Words
- On the size of overlapping Lempel-Ziv and Lyndon factorizations
This page was built for publication: Faster longest common extension queries in strings over general alphabets
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5369537)