Longest common substring: Difference between revisions

Content added Content deleted
(J)
Line 115: Line 115:
Intermedate results:
Intermedate results:


C shows which characters are in common between the two strings.
C shows which characters are in common between the two strings.
M marks the length of the longest common substring ending at that position in the right argument
M marks the length of the longest common substring ending at that position in the right argument
N is the length of the longest common substring
N is the length of the longest common substring


Example use:
Example use: