An Improved Algorithm for Finding a Longer Maximal Common Subsequence 


Vol. 49,  No. 7, pp. 507-513, Jul.  2022
10.5626/JOK.2022.49.7.507


PDF

  Abstract

A maximal common subsequence (MCS) is a common subsequence which is not common any more if any character is inserted into it. Recently, a (sub)linearithmic-time algorithm for finding an MCS of two strings has been proposed. The MCS algorithm is faster than algorithms for computing the longest common subsequence (LCS), which requires quadratic time. However, it has been shown experimentally that the MCS computed by the existing algorithm is much shorter than the LCS. In this paper, we propose two algorithms for computing a longer MCS by improving the existing algorithm and show experimental results of various real data and randomly generated data. Our algorithms compute MCSs whose lengths are 1.47 to 3.17 times for real data and 1.50 to 3.08 times for random data, compared to the lengths of MCSs computed by the existing algorithm.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

D. Lee and J. C. Na, "An Improved Algorithm for Finding a Longer Maximal Common Subsequence," Journal of KIISE, JOK, vol. 49, no. 7, pp. 507-513, 2022. DOI: 10.5626/JOK.2022.49.7.507.


[ACM Style]

DongYeop Lee and Joong Chae Na. 2022. An Improved Algorithm for Finding a Longer Maximal Common Subsequence. Journal of KIISE, JOK, 49, 7, (2022), 507-513. DOI: 10.5626/JOK.2022.49.7.507.


[KCI Style]

이동엽, 나중채, "더 긴 극대 공통 부분 서열을 찾기 위한 알고리즘," 한국정보과학회 논문지, 제49권, 제7호, 507~513쪽, 2022. DOI: 10.5626/JOK.2022.49.7.507.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr