English

Longest Common Subsequence with Gap Constraints

Data Structures and Algorithms 2023-06-05 v2 Formal Languages and Automata Theory

Abstract

We consider the longest common subsequence problem in the context of subsequences with gap constraints. In particular, following Day et al. 2022, we consider the setting when the distance (i. e., the gap) between two consecutive symbols of the subsequence has to be between a lower and an upper bound (which may depend on the position of those symbols in the subsequence or on the symbols bordering the gap) as well as the case where the entire subsequence is found in a bounded range (defined by a single upper bound), considered by Kosche et al. 2022. In all these cases, we present effcient algorithms for determining the length of the longest common constrained subsequence between two given strings.

Keywords

Cite

@article{arxiv.2304.05270,
  title  = {Longest Common Subsequence with Gap Constraints},
  author = {Duncan Adamson and Maria Kosche and Tore Koß and Florin Manea and Stefan Siemer},
  journal= {arXiv preprint arXiv:2304.05270},
  year   = {2023}
}
R2 v1 2026-06-28T09:59:54.047Z