A space efficient algorithm for the longest common subsequence in k-length substrings

被引:1
|
作者
Zhu, Daxin [1 ]
Wang, Lei [2 ]
Wang, Tinran
Wang, Xiaodong [3 ]
机构
[1] Quanzhou Normal Univ, Quanzhou, Peoples R China
[2] Facebook, 1 Hacker Way, Menlo Pk, CA 94052 USA
[3] Fujian Univ Technol, Fuzhou, Peoples R China
关键词
Longest common subsequence; Similarity of strings; Edit distance; Dynamic programming;
D O I
10.1016/j.tcs.2017.05.015
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Two space efficient algorithms to solve the LCSk problem and LCS(>=)k problem are presented in this paper. The algorithms improve the time and space complexities. of the algorithms of Benson et al. [4]. The space cost of the first algorithm to solve the LCSk problem is reduced from O (n(2)) to O (kn), if the size of the two input sequences are both n. The time and space costs of the second algorithm to solve the LCS >= k problem are both improved. The time cost is reduced from O (kn(2)) to O (n(2)), and the space cost is reduced from O (n(2)) to O (kn). In the case of k = O(1), the two algorithms are both linear space algorithms. (C) 2017 Elsevier B.V. All rights reserved.
引用
收藏
页码:79 / 92
页数:14
相关论文
共 50 条
  • [1] Efficient algorithms for the longest common subsequence in k-length substrings
    Deorowicz, Sebastian
    Grabowski, Szymon
    [J]. INFORMATION PROCESSING LETTERS, 2014, 114 (11) : 634 - 638
  • [2] Longest Common Subsequence in k Length Substrings
    Benson, Gary
    Levy, Avivit
    Shalom, B. Riva
    [J]. SIMILARITY SEARCH AND APPLICATIONS (SISAP), 2013, 8199 : 257 - 265
  • [3] Longest Common Subsequence in at Least k Length Order-Isomorphic Substrings
    Ueki, Yohei
    Diptarama
    Kurihara, Masatoshi
    Matsuoka, Yoshiaki
    Narisawa, Kazuyuki
    Yoshinaka, Ryo
    Bannai, Hideo
    Inenaga, Shunsuke
    Shinohara, Ayumi
    [J]. SOFSEM 2017: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2017, 10139 : 363 - 374
  • [4] Longest common substrings with k mismatches
    Flouri, Tomas
    Giaquinta, Emanuele
    Kobert, Kassian
    Ukkonen, Esko
    [J]. INFORMATION PROCESSING LETTERS, 2015, 115 (6-8) : 643 - 647
  • [5] An efficient algorithm for the longest common palindromic subsequence problem
    Liang, Ting-Wei
    Yang, Chang-Biau
    Huang, Kuo-Si
    [J]. THEORETICAL COMPUTER SCIENCE, 2022, 922 : 475 - 485
  • [6] A New Efficient Algorithm for Computing the Longest Common Subsequence
    Iliopoulos, Costas S.
    Rahman, M. Sohel
    [J]. THEORY OF COMPUTING SYSTEMS, 2009, 45 (02) : 355 - 371
  • [7] An efficient systolic algorithm for the longest common subsequence problem
    Lin, YC
    Chen, JC
    [J]. JOURNAL OF SUPERCOMPUTING, 1998, 12 (04): : 373 - 385
  • [8] A new efficient algorithm for computing the longest common subsequence
    Rahman, M. Sohel
    Iliopoulos, Costas S.
    [J]. ALGORITHMIC ASPECTS IN INFORMATION AND MANAGEMENT, PROCEEDINGS, 2007, 4508 : 82 - +
  • [9] A New Efficient Algorithm for Computing the Longest Common Subsequence
    Costas S. Iliopoulos
    M. Sohel Rahman
    [J]. Theory of Computing Systems, 2009, 45 : 355 - 371
  • [10] An Efficient Systolic Algorithm for the Longest Common Subsequence Problem
    Yen-Chun Lin
    Jyh-Chian Chen
    [J]. The Journal of Supercomputing, 1998, 12 : 373 - 385