首页    期刊浏览 2024年09月12日 星期四
登录注册

文章基本信息

  • 标题:Sketching, Streaming, and Fine-Grained Complexity of (Weighted) LCS
  • 本地全文:下载
  • 作者:Karl Bringmann ; Bhaskar Ray Chaudhury
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:122
  • 页码:1-16
  • DOI:10.4230/LIPIcs.FSTTCS.2018.40
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We study sketching and streaming algorithms for the Longest Common Subsequence problem (LCS) on strings of small alphabet size |Sigma|. For the problem of deciding whether the LCS of strings x,y has length at least L, we obtain a sketch size and streaming space usage of O(L^{|Sigma| - 1} log L). 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 O(min{nm, n + m^{|Sigma|}})-time algorithm for this problem, on strings x,y of length n,m, with n >= m. We prove optimality of this running time up to lower order factors, assuming the Strong Exponential Time Hypothesis.
  • 关键词:algorithms; SETH; communication complexity; run-length encoding
国家哲学社会科学文献中心版权所有