Maximal common subsequence algorithms

Autor: Yoshifumi Sakai
Rok vydání: 2019
Předmět:
Zdroj: Theoretical Computer Science. 793:132-139
ISSN: 0304-3975
DOI: 10.1016/j.tcs.2019.06.020
Popis: A common subsequence of two strings is maximal, if inserting any character into the subsequence can no longer yield a common subsequence of the two strings. The present article proposes a (sub)linearithmic-time, linear-space algorithm for finding a maximal common subsequence of two strings and also proposes a linear-time algorithm for determining if a common subsequence of two strings is maximal.
Databáze: OpenAIRE