Efficient algorithms for enumerating maximal common subsequences of two strings

07/20/2023
by   Miyuji Hirota, et al.
0

We propose efficient algorithms for enumerating maximal common subsequences (MCSs) of two strings. Efficiency of the algorithms are estimated by the preprocessing-time, space, and delay-time complexities. One algorithm prepares a cubic-space data structure in cubic time to output each MCS in linear time. This data structure can be used to search for particular MCSs satisfying some condition without performing an explicit enumeration. Another prepares a quadratic-space data structure in quadratic time to output each MCS in linear time, and the other prepares a linear-space data structure in quadratic time to output each MCS in linearithmic time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/08/2022

Computing palindromes on a trie in linear time

A trie 𝒯 is a rooted tree such that each edge is labeled by a single cha...
research
07/14/2020

Algorithmic applications of the corestriction of central simple algebras

Let L be a separable quadratic extension of either ℚ or 𝔽_q(t). We propo...
research
10/12/2021

Algebra of Data Reconciliation

With distributed computing and mobile applications becoming ever more pr...
research
10/05/2022

Double-Ended Palindromic Trees: A Linear-Time Data Structure and Its Applications

The palindromic tree (a.k.a. eertree) is a linear-size data structure th...
research
01/04/2023

Dynamic Maintenance of Monotone Dynamic Programs and Applications

Dynamic programming (DP) is one of the fundamental paradigms in algorith...
research
07/25/2019

Enumerating Range Modes

We consider the range mode problem where given a sequence and a query ra...
research
02/21/2020

Chronofold: a data structure for versioned text

Collaborative text editing and versioning is known to be a tough topic. ...

Please sign up or login with your details

Forgot password? Click here to reset