English

An Efficient Dynamic Programming Algorithm for STR-IC-SEQ-EC-LCS Problem

Data Structures and Algorithms 2015-06-02 v1

Abstract

In this paper, we consider a generalized longest common subsequence problem, in which a constraining sequence of length ss must be included as a substring and the other constraining sequence of length tt must be excluded as a subsequence of two main sequences and the length of the result must be maximal. For the two input sequences XX and YY of lengths nn and mm, and the given two constraining sequences of length ss and tt, we present an O(nmst)O(nmst) time dynamic programming algorithm for solving the new generalized longest common subsequence problem. The time complexity can be reduced further to cubic time in a more detailed analysis. The correctness of the new algorithm is proved.

Keywords

Cite

@article{arxiv.1506.00063,
  title  = {An Efficient Dynamic Programming Algorithm for STR-IC-SEQ-EC-LCS Problem},
  author = {Daxin Zhu and Lei Wang and Yingjie Wu and Xiaodong Wang},
  journal= {arXiv preprint arXiv:1506.00063},
  year   = {2015}
}
R2 v1 2026-06-22T09:44:14.650Z