Faster STR-IC-LCS computation via RLE
From MaRDI portal
Abstract: The constrained LCS problem asks one to find a longest common subsequence of two input strings and with some constraints. The STR-IC-LCS problem is a variant of the constrained LCS problem, where the solution must include a given constraint string as a substring. Given two strings and of respective lengths and , and a constraint string of length at most , the best known algorithm for the STR-IC-LCS problem, proposed by Deorowicz~({em Inf. Process. Lett.}, 11:423--426, 2012), runs in time. In this work, we present an -time solution to the STR-IC-LCS problem, where and denote the sizes of the run-length encodings of and , respectively. Since and always hold, our algorithm is always as fast as Deorowicz's algorithm, and is faster when input strings are compressible via RLE.
Recommendations
- Fast algorithms for computing the constrained LCS of run-length encoded strings
- Faster STR-EC-LCS computation
- New efficient algorithms for the LCS and constrained LCS problems
- Quadratic-time algorithm for a string constrained LCS problem
- A fast and simple algorithm for computing the longest common subsequence of run-length encoded strings
Cited in
(8)- Faster STR-EC-LCS computation
- Fast algorithms for computing the constrained LCS of run-length encoded strings
- Sketching, streaming, and fine-grained complexity of (weighted) LCS
- Almost linear time computation of maximal repetitions in run length encoded strings
- Computing longest common square subsequences
- Space-efficient STR-IC-LCS computation
- Faster space-efficient STR-IC-LCS computation
- The generalized constrained longest common subsequence in the run-length encoded format
This page was built for publication: Faster STR-IC-LCS computation via RLE
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5110885)