Sketching, Streaming, and Fine-Grained Complexity of (Weighted) LCS
Abstract
We study sketching and streaming algorithms for the Longest Common Subsequence problem (LCS) on strings of small alphabet size . For the problem of deciding whether the LCS of strings has length at least , we obtain a sketch size and streaming space usage of . We also prove matching unconditional lower bounds. As an application, we study a variant of LCS where each alphabet symbol is equipped with a weight that is given as input, and the task is to compute a common subsequence of maximum total weight. Using our sketching algorithm, we obtain an -time algorithm for this problem, on strings of length , with . We prove optimality of this running time up to lower order factors, assuming the Strong Exponential Time Hypothesis.
Keywords
Cite
@article{arxiv.1810.01238,
title = {Sketching, Streaming, and Fine-Grained Complexity of (Weighted) LCS},
author = {Karl Bringmann and Bhaskar Ray Chaudhury},
journal= {arXiv preprint arXiv:1810.01238},
year = {2018}
}
Comments
To appear in FSTTCS 2018