As you remember, first, the Hoorspol algorithm creates a bad match table. You need to find mad in the string we're all mad here. Drag the characters from the pattern to their values in the bad match table.
find() under the hood
Complete the table
Report a typo
Match the items from left and right columns
m
a
d
2
1
3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.