Back to Search Start Over

An Efficient Algorithm for LCS Problem between Two Arbitrary Sequences.

Authors :
Li, Yubo
Source :
Mathematical Problems in Engineering; 11/29/2018, p1-6, 6p
Publication Year :
2018

Abstract

The longest common subsequence (LCS) problem is a classic computer science problem. For the essential problem of computing LCS between two arbitrary sequences s1 and s2, this paper proposes an algorithm taking O(n+r) space and O(r+n<superscript>2</superscript>) time, where r is the total number of elements in the set (i,j)|s1[i]=s2[j]. The algorithm can be more efficient than relevant classical algorithms in specific ranges of r. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
1024123X
Database :
Complementary Index
Journal :
Mathematical Problems in Engineering
Publication Type :
Academic Journal
Accession number :
133272889
Full Text :
https://doi.org/10.1155/2018/4158071