An Efficient Dynamic Programming Algorithm for the Generalized LCS Problem with Multiple Substring Exclusion Constrains
arXiv:1303.1872
Abstract
In this paper, we consider a generalized longest common subsequence problem with multiple substring exclusion constrains. For the two input sequences and of lengths and , and a set of constrains of total length , the problem is to find a common subsequence of and excluding each of constrain string in as a substring and the length of is maximized. The problem was declared to be NP-hard\cite{1}, but we finally found that this is not true. A new dynamic programming solution for this problem is presented in this paper. The correctness of the new algorithm is proved. The time complexity of our algorithm is .
arXiv admin note: substantial text overlap with arXiv:1301.7183