Computing Maximal Repeating Subsequences in a String
Mingyang Gong, Adiesha Liyanage, Braeden Sopp, Binhai Zhu

TL;DR
This paper introduces efficient algorithms for finding maximal repeating subsequences in a string, significantly improving previous bounds for specific cases like square and k-repeating subsequences.
Contribution
It presents new algorithms with improved time complexities for computing maximal square and k-repeating subsequences in a string, extending the study to single strings.
Findings
Maximal square subsequence can be computed in O(n log n) time.
Bound for k-repeating subsequences is improved to O(f(k)n log n).
Results also apply to constrained cases with subsequence requirements.
Abstract
In this paper we initiate the study of computing a maximal (not necessarily maximum) repeating pattern in a single input string, where the corresponding problems have been studied (e.g., a maximal common subsequence) only in two or more input strings by Hirota and Sakai starting 2019. Given an input string of length , we can compute a maximal square subsequence of in time, greatly improving the bound for computing the longest square subsequence of . For a maximal -repeating subsequence, our bound is , where \(f(k)\) is a computable function such that . This greatly improves the bound for computing a longest -repeating subsequence of , for . Both results hold for the constrained case, i.e., when the solution must contain a subsequence of , though with higher running times.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Genome Rearrangement Algorithms · semigroups and automata theory
