An Efficient Dynamic Programming Algorithm for STR-IC-SEQ-EC-LCS Problem
Daxin Zhu, Lei Wang, Yingjie Wu, and Xiaodong Wang

TL;DR
This paper introduces a new dynamic programming algorithm to solve a generalized longest common subsequence problem involving inclusion and exclusion constraints, with improved time complexity.
Contribution
It presents an efficient $O(nmst)$ dynamic programming algorithm for a complex LCS variant with inclusion and exclusion constraints, and proves its correctness.
Findings
Algorithm runs in $O(nmst)$ time.
Time complexity can be further reduced to cubic time.
Correctness of the algorithm is formally proved.
Abstract
In this paper, we consider a generalized longest common subsequence problem, in which a constraining sequence of length must be included as a substring and the other constraining sequence of length must be excluded as a subsequence of two main sequences and the length of the result must be maximal. For the two input sequences and of lengths and , and the given two constraining sequences of length and , we present an 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.
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 · Optimization and Search Problems · Vehicle License Plate Recognition
