Efficient algorithms for enumerating maximal common subsequences of two strings
Data Structures and Algorithms
2023-07-21 v1
Abstract
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.
Cite
@article{arxiv.2307.10552,
title = {Efficient algorithms for enumerating maximal common subsequences of two strings},
author = {Miyuji Hirota and Yoshifumi Sakai},
journal= {arXiv preprint arXiv:2307.10552},
year = {2023}
}
Comments
23 pages, 5 Postscript figures