The constrained longest common subsequence problem

  • Authors:
  • Yin-Te Tsai

  • Affiliations:
  • Department of Science and Information Management, Providence University, 200 Chung Chi Road, Shalu, Taichung Hsien 433, Taiwan, R.O.C.

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

Abstract

This paper considers a constrained version of longest common subsequence problem for two strings. Given strings S1, S2, and P, the constrained longest common subsequence problem for S1 and S2 with respect to P is to find a longest common subsequence lcs of S1 and S1 such that P is a subsequence of this lcs. An O(rn2m2) time algorithm based upon the dynamic programming technique is proposed for this new problem, where n, m and r are lengths of S1, S2 and P, respectively.