Skip to content

Why two strings need a grid

The longest common subsequence of two strings is wanted.

Why is the state a pair of positions rather than one?