QUESTION IMAGE
Question
true or false: in brute - force string matching, if the character of the pattern does not match the corresponding character in text, the algorithm shifts the pattern by more than one position.
true
false
Brief Explanations
In brute - force string matching, when a mismatch occurs, the pattern is shifted by only one position. This is a fundamental characteristic of the brute - force algorithm.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
False