English

Absent Subsequences in Words

Formal Languages and Automata Theory 2026-04-08 v6 Data Structures and Algorithms

Abstract

An absent factor of a string ww is a string uu which does not occur as a contiguous substring (a.k.a. factor) inside ww. We extend this well-studied notion and define absent subsequences: a string uu is an absent subsequence of a string ww if uu does not occur as subsequence (a.k.a. scattered factor) inside ww. Of particular interest to us are minimal absent subsequences, i.e., absent subsequences whose every subsequence is not absent, and shortest absent subsequences, i.e., absent subsequences of minimal length. We show a series of combinatorial and algorithmic results regarding these two notions. For instance: we give combinatorial characterisations of the sets of minimal and, respectively, shortest absent subsequences in a word, as well as compact representations of these sets; we show how we can test efficiently if a string is a shortest or minimal absent subsequence in a word, and we give efficient algorithms computing the lexicographically smallest absent subsequence of each kind; also, we show how a data structure for answering shortest absent subsequence-queries for the factors of a given string can be efficiently computed.

Keywords

Cite

@article{arxiv.2108.13968,
  title  = {Absent Subsequences in Words},
  author = {Maria Kosche and Tore Koß and Florin Manea and Stefan Siemer},
  journal= {arXiv preprint arXiv:2108.13968},
  year   = {2026}
}

Comments

An extended abstract appeared in the proceedings of the 15th International Conference on Reachability Problems RP2021

R2 v1 2026-06-24T05:34:18.757Z