Page 1 of 1

Suppose we are given the text string T = "abacaabaccabacabaabb" and the pattern string P = "abacab". In Figure 12.3, we

Posted: Fri May 20, 2022 3:07 pm
by answerhappygod
Suppose we are given the text string
T = "abacaabaccabacabaabb"
and the pattern string
P = "abacab".
In Figure 12.3, we illustrate the execution of the brute-force
pattern matching
algorithm on T and P.