Fast algorithms for finding nearest common ancestors
SIAM Journal on Computing
An improved algorithm for computing the edit distance of run-length coded strings
Information Processing Letters
Matching for run-length encoded strings
Journal of Complexity
The String-to-String Correction Problem
Journal of the ACM (JACM)
Algorithms for the Longest Common Subsequence Problem
Journal of the ACM (JACM)
A unifying look at data structures
Communications of the ACM
A fast algorithm for computing longest common subsequences
Communications of the ACM
Simple and fast linear space computation of longest common subsequences
Information Processing Letters
Edit distance of run-length encoded strings
Information Processing Letters
LATIN '00 Proceedings of the 4th Latin American Symposium on Theoretical Informatics
Information Processing Letters
Edit distance for a run-length-encoded string and an uncompressed string
Information Processing Letters
Fast algorithms for computing the constrained LCS of run-length encoded strings
Theoretical Computer Science
Hardness of longest common subsequence for sequences with bounded run-lengths
CPM'12 Proceedings of the 23rd Annual conference on Combinatorial Pattern Matching
Hi-index | 0.89 |
Let X and Y be two strings of lengths n and m, respectively, and k and l, respectively, be the numbers of runs in their corresponding run-length encoded forms. We propose a simple algorithm for computing the longest common subsequence of two given strings X and Y in O(kl+min{p"1,p"2}) time, where p"1 and p"2 denote the numbers of elements in the bottom and right boundaries of the matched blocks, respectively. It improves the previously known time bound O(min{nl,km}) and outperforms the time bounds O(kllogkl) or O((k+l+q)log(k+l+q)) for some cases, where q denotes the number of matched blocks.