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 29 of 46
Question 25 of 37
Step 29 of 46
Step 30 of 46
Step 31 of 46
Step 32 of 46
Step 33 of 46
Step 34 of 46
Step 35 of 46
Step 36 of 46
Question 25 of 37
Question 25 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 4 is not the pattern's b, so the pattern does not stand here.
Question 25 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 4 is not the pattern's b, so the pattern does not stand here.
Question 25 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 4 is not the pattern's b, so the pattern does not stand here.
Question 26 of 37
Question 26 of 37
Not this time.
You guessed: The pattern jumps to place 4.
What the run did:
Jump the pattern on 1 place, to place 5, and compare from its last letter again.
Question 26 of 37
Right.
You guessed: The pattern jumps to place 5.
What the run did:
Jump the pattern on 1 place, to place 5, and compare from its last letter again.
Question 26 of 37
Not this time.
You guessed: The pattern jumps to place 6.
What the run did:
Jump the pattern on 1 place, to place 5, and compare from its last letter again.
Question 27 of 37
Question 27 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 9 matches the pattern's a.
Question 27 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 9 matches the pattern's a.
Question 27 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 9 matches the pattern's a.
Question 28 of 37
Question 28 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 28 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 28 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 29 of 37
Question 29 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 29 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 29 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 30 of 37
Question 30 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 30 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 30 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.