An Efficient Systolic Algorithm for the Longest CommonSubsequence Problem

  • Authors:
  • Yen-Chun Lin;Jyh-Chian Chen

  • Affiliations:
  • National Taiwan University of Science and Technology, Dept. of Electronic Engineering, P.O. Box 90-100, Taipei 106, Taiwan;Lunghwa Junior College of Technology and Commerce, Taoyuan, Taiwan, Dept. of Electronic Engineering and National Taiwan University of Science and Technology, Dept. of Electronic Engineering, P.O. ...

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

A longest common subsequence (LCS) of two strings is a commonsubsequence of the two strings of maximal length. The LCS problem is tofind an LCS of two given strings and the length of the LCS (LLCS). Inthis paper, a fast linear systolic algorithm that improves on previoussystolic algorithms for solving the LCS problem is presented. For twogiven strings of length m and n, wherem ≥ n, the LLCS and an LCS can be found inm + 2n − 1 time steps. This algorithmachieves the tight lower bound of the time complexity under thesituation where symbols are input sequentially to a linear array ofn processors. The systolic algorithm can be modified to takeonly m + n steps on multicomputers by using thescatter operation.