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 36 of 46
Question 31 of 37
Step 36 of 46
Step 37 of 46
Step 38 of 46
Step 39 of 46
Step 40 of 46
Step 41 of 46
Step 42 of 46
Step 43 of 46
Question 31 of 37
Question 31 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 5 is not the pattern's b, so the pattern does not stand here.
Question 31 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 5 is not the pattern's b, so the pattern does not stand here.
Question 31 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 is not the pattern's b, so the pattern does not stand here.
Question 32 of 37
Question 32 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 6, and compare from its last letter again.
Question 32 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 6, and compare from its last letter again.
Question 32 of 37
Right.
You guessed: The pattern jumps to place 6.
What the run did:
Jump the pattern on 1 place, to place 6, and compare from its last letter again.
Question 33 of 37
Question 33 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 10 matches the pattern's a.
Question 33 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 10 matches the pattern's a.
Question 33 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 10 matches the pattern's a.
Question 34 of 37
Question 34 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 34 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 34 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 35 of 37
Question 35 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 35 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 35 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 36 of 37
Question 36 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 36 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 36 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.