guess the next step: Boyer-Moore-Horspool
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 9 of 17
Question 7 of 12
Step 9 of 17
Step 10 of 17
Step 11 of 17
Step 12 of 17
Step 13 of 17
Step 14 of 17
Step 15 of 17
Question 7 of 12
Question 7 of 12
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's e at position 10 matches the pattern's e.
Question 7 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
The text's e at position 10 matches the pattern's e.
Question 7 of 12
Not this time.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
The text's e at position 10 matches the pattern's e.
Question 8 of 12
Question 8 of 12
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's t at position 9 matches the pattern's t.
Question 8 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
The text's t at position 9 matches the pattern's t.
Question 8 of 12
Not this time.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
The text's t at position 9 matches the pattern's t.
Question 9 of 12
Question 9 of 12
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's s at position 8 matches the pattern's s.
Question 9 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
The text's s at position 8 matches the pattern's s.
Question 9 of 12
Not this time.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
The text's s at position 8 matches the pattern's s.
Question 10 of 12
Question 10 of 12
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's a at position 7 matches the pattern's a.
Question 10 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
The text's a at position 7 matches the pattern's a.
Question 10 of 12
Not this time.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
The text's a at position 7 matches the pattern's a.
Question 11 of 12
Question 11 of 12
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's p at position 6 matches the pattern's p.
Question 11 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
The text's p at position 6 matches the pattern's p.
Question 11 of 12
Not this time.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
The text's p at position 6 matches the pattern's p.
Question 12 of 12
Question 12 of 12
Not this time.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
Every letter matched: the pattern stands at place 6. Mark it.
That is every question on this run: 0 of 12 right.
Question 12 of 12
Not this time.
You guessed: Another letter is compared here, and it is not the pattern's, so the pattern does not stand here.
What the run did:
Every letter matched: the pattern stands at place 6. Mark it.
That is every question on this run: 0 of 12 right.
Question 12 of 12
Right.
You guessed: No letter is left to compare, so the pattern stands here.
What the run did:
Every letter matched: the pattern stands at place 6. Mark it.
That is every question on this run: 1 of 12 right.