(seed = 762985)
Consider the Knuth-Morris-Pratt DFA for the following string of length 8:
B A B A B B B C
What is sequence of values in the row of the DFA corresponding to
the character 'A'? For reference, here is the partially-completed DFA:
0 1 2 3 4 5 6 7
----------------------
A ? ? ? ? ? ? ? ?
B 1 1 3 1 5 6 7 1
C 0 0 0 0 0 0 0 8