Recursive Formula
Let
c
[
i
,
j
] be the length of the LCS of
X
i
and
Y
j
(prefixes).
Next:
Algorithm
Up:
LONGEST COMMON SUBSEQUENCE
Previous:
Optimal Substructure Theorem