Subsequences in Bounded Ranges: Matching and Analysis Problems
Abstract
In this paper, we consider a variant of the classical algorithmic problem of checking whether a given word is a subsequence of another word . More precisely, we consider the problem of deciding, given a number (defining a range-bound) and two words and , whether there exists a factor (or, in other words, a range of length ) of having as subsequence (i.\,e., occurs as a subsequence in the bounded range ). We give matching upper and lower quadratic bounds for the time complexity of this problem. Further, we consider a series of algorithmic problems in this setting, in which, for given integers , and a word , we analyse the set -Subseq of all words of length which occur as subsequence of some factor of length of . Among these, we consider the -universality problem, the -equivalence problem, as well as problems related to absent subsequences. Surprisingly, unlike the case of the classical model of subsequences in words where such problems have efficient solutions in general, we show that most of these problems become intractable in the new setting when subsequences in bounded ranges are considered. Finally, we provide an example of how some of our results can be applied to subsequence matching problems for circular words.
Cite
@article{arxiv.2207.09201,
title = {Subsequences in Bounded Ranges: Matching and Analysis Problems},
author = {Maria Kosche and Tore Koß and Florin Manea and Viktoriya Pak},
journal= {arXiv preprint arXiv:2207.09201},
year = {2024}
}
Comments
Extended version of a paper which will appear in the proceedings of the 16th International Conference on Reachability Problems, RP 2022