Skip to content

guess the next step: Longest common subsequence

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 1 of 11

dogcat0000000
Find the most letters cat and dog share in the same order. With an empty start nothing is in common, so the first row and column are 0.

Question 1 of 9

What happens next?

Your guess