arXiv · 2307.10552
Efficient algorithms for enumerating maximal common subsequences of two strings
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Miyuji Hirota, Yoshifumi Sakai. 2023-07-20. Efficient algorithms for enumerating maximal common subsequences of two strings. https://arxiv.org/abs/2307.10552
Cite the original work for its findings. Save a collection to share your selection of sources.