Arrow Research search
Back to TCS

TCS 2008

Algorithms for subsequence combinatorics

Journal Article journal-article Computer Science ยท Theoretical Computer Science

Abstract

A subsequence is obtained from a string by deleting any number of characters; thus in contrast to a substring, a subsequence is not necessarily a contiguous part of the string. Counting subsequences under various constraints has become relevant to biological sequence analysis, to machine learning, to coding theory, to the analysis of categorical time series in the social sciences, and to the theory of word complexity. We present theorems that lead to efficient dynamic programming algorithms to count (1) distinct subsequences in a string, (2) distinct common subsequences of two strings, (3) matching joint embeddings in two strings, (4) distinct subsequences with a given minimum span, and (5) sequences generated by a string allowing characters to come in runs of a length that is bounded from above.

Authors

Keywords

  • Subsequence
  • Combinatorics
  • Dynamic programming
  • Algorithm

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
583807169558831525
v2026.09.13