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 22 of 46
Question 19 of 37
Step 22 of 46
Step 23 of 46
Step 24 of 46
Step 25 of 46
Step 26 of 46
Step 27 of 46
Step 28 of 46
Step 29 of 46
Question 19 of 37
Question 19 of 37
Not this time.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's a at position 3 is not the pattern's b, so the pattern does not stand here.
Question 19 of 37
Right.
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 3 is not the pattern's b, so the pattern does not stand here.
Question 19 of 37
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 3 is not the pattern's b, so the pattern does not stand here.
Question 20 of 37
Question 20 of 37
Not this time.
You guessed: The pattern jumps to place 3.
What the run did:
Jump the pattern on 1 place, to place 4, and compare from its last letter again.
Question 20 of 37
Right.
You guessed: The pattern jumps to place 4.
What the run did:
Jump the pattern on 1 place, to place 4, and compare from its last letter again.
Question 20 of 37
Not this time.
You guessed: The pattern jumps to place 5.
What the run did:
Jump the pattern on 1 place, to place 4, and compare from its last letter again.
Question 21 of 37
Question 21 of 37
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's a at position 8 matches the pattern's a.
Question 21 of 37
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 8 matches the pattern's a.
Question 21 of 37
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 8 matches the pattern's a.
Question 22 of 37
Question 22 of 37
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 22 of 37
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 22 of 37
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 23 of 37
Question 23 of 37
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's a at position 6 matches the pattern's a.
Question 23 of 37
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 6 matches the pattern's a.
Question 23 of 37
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 6 matches the pattern's a.
Question 24 of 37
Question 24 of 37
Right.
You guessed: Another letter is compared here, and it matches the pattern's.
What the run did:
The text's a at position 5 matches the pattern's a.
Question 24 of 37
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 5 matches the pattern's a.
Question 24 of 37
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 5 matches the pattern's a.