An improved O(Rlog log n + n) time algorithm for computing the longest common subsequence

被引:0
|
作者
机构
[1] Zhu, Daxin
[2] Wang, Lei
[3] Wang, Xiaodong
关键词
Balanced binary searches - Input sequence - Longest common subsequences - Positive integers - Special operations - Time algorithms - Time and space complexity - Time complexity;
D O I
暂无
中图分类号
学科分类号
摘要
In this paper, we revisit the much studied LCS problem for two given sequences. Based on the algorithm of Iliopoulos and Rahman for solving the LCS problem, we have suggested 3 new improved algorithms. We first reformulate the problem in a very succinct form. The problem LCS is abstracted to an abstract data type DS on an ordered positive integer set with a special operation Update(S; x). For the two input sequences X and Y of equal length n, the first improved algorithm uses a van Emde Boas tree for DS and its time and space complexities are O(Rlog log n + n) and O(R), where R is the number of matched pairs of the two input sequences. The second algorithm uses a balanced binary search tree for DS and its time and space complexities are O(Rlog L+n) and O(R), where L is the length of the longest common subsequence of X and Y. The third algorithm uses an ordered vector for DS and its time and space complexities are O(nL) and O(R).
引用
收藏
相关论文
共 50 条
  • [41] An efficient systolic algorithm for the longest common subsequence problem
    Lin, YC
    Chen, JC
    JOURNAL OF SUPERCOMPUTING, 1998, 12 (04): : 373 - 385
  • [42] An Efficient Systolic Algorithm for the Longest Common Subsequence Problem
    Yen-Chun Lin
    Jyh-Chian Chen
    The Journal of Supercomputing, 1998, 12 : 373 - 385
  • [43] An A* search algorithm for the constrained longest common subsequence problem
    Djukanovic, Marko
    Berger, Christoph
    Raidl, Gunther R.
    Blum, Christian
    INFORMATION PROCESSING LETTERS, 2021, 166
  • [44] FAST ALGORITHM FOR THE LONGEST-COMMON-SUBSEQUENCE PROBLEM
    MUKHOPADHYAY, A
    INFORMATION SCIENCES, 1980, 20 (01) : 69 - 82
  • [45] A fast longest common subsequence algorithm for biosequences alignment
    Liu, Wei
    Chen, Lin
    COMPUTER AND COMPUTING TECHNOLOGIES IN AGRICULTURE, VOL 1, 2008, 258 : 61 - +
  • [46] Computing the Longest Common Transposition-Invariant Subsequence with GPU
    Deorowicz, Sebastian
    MAN-MACHINE INTERACTIONS, 2009, 59 : 551 - 559
  • [47] A fast and simple algorithm for computing the longest common subsequence of run-length encoded strings
    Ann, Hsing-Yen
    Yang, Chang-Biau
    Tseng, Chiou-Ting
    Hor, Chiou-Yi
    INFORMATION PROCESSING LETTERS, 2008, 108 (06) : 360 - 364
  • [49] AN O(N-LOG LOG-N)-TIME ALGORITHM FOR TRIANGULATING A SIMPLE POLYGON
    TARJAN, RE
    VANWYK, CJ
    SIAM JOURNAL ON COMPUTING, 1988, 17 (01) : 143 - 178
  • [50] An O(n2 log n) time algorithm for computing shortest paths amidst growing discs in the plane
    Maheshwari, Anil
    Nussbaum, Doron
    Sack, Joerg-Ruediger
    Yi, Jiehua
    ALGORITHMS AND COMPUTATION, 2007, 4835 : 668 - 680