首页    期刊浏览 2024年10月04日 星期五
登录注册

文章基本信息

  • 标题:Computing longest common square subsequences
  • 作者:Takafumi Inoue ; Shunsuke Inenaga ; Heikki Hyyr{\"o
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:105
  • 页码:15:1-15:13
  • DOI:10.4230/LIPIcs.CPM.2018.15
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:A square is a non-empty string of form YY. The longest common square subsequence (LCSqS) problem is to compute a longest square occurring as a subsequence in two given strings A and B. We show that the problem can easily be solved in O(n^6) time or O(|M|n^4) time with O(n^4) space, where n is the length of the strings and M is the set of matching points between A and B. Then, we show that the problem can also be solved in O(sigma |M|^3 + n) time and O(|M|^2 + n) space, or in O(|M|^3 log^2 n log log n + n) time with O(|M|^3 + n) space, where sigma is the number of distinct characters occurring in A and B. We also study lower bounds for the LCSqS problem for two or more strings.
  • 关键词:squares; subsequences; matching rectangles; dynamic programming
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有