How many string comparisons will the bad character pattern matching algorithm perform to find the first occurrence of the pattern in the text ?
Computer scienceAlgorithms and data structuresAlgorithmsString algorithmsSubstring search algorithms
Boyer-Moore: Bad character rule
Count comparisons
Report a typo
Enter a number
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.