An Efficient Dynamic Programming Algorithm for the Generalized LCS Problem with Multiple Substring Exclusion Constrains
Lei Wang, Xiaodong Wang, Yingjie Wu, and Daxin Zhu

TL;DR
This paper introduces a new dynamic programming algorithm for the generalized longest common subsequence problem with multiple substring exclusion constraints, demonstrating it is not NP-hard and providing an efficient solution.
Contribution
The paper presents a novel dynamic programming algorithm that efficiently solves the generalized LCS problem with multiple substring exclusion constraints, challenging previous NP-hard assumptions.
Findings
The new algorithm correctly computes the LCS with constraints.
Time complexity of the algorithm is O(nmr).
The problem is not NP-hard as previously claimed.
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 .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · Genome Rearrangement Algorithms
