Template Function ADS::lcs

Function Documentation

template<class S>
S ADS::lcs(const S &P, const S &T)

a longest common subsequence, read back from the table

Post:

a subsequence of P and T of the length of lcsTable()