Answer
\begin{array}{l}{\text { Pattern }=\text { AAAB; Text }=\text { AAAAAAAAA; } m=4 ; n=9;m \times n=36 ; \text { the }} \\ {\text { exact number of comparisons is } 4 \times 6=24 .}\end{array}
Work Step by Step
\begin{array}{l}{\text { Pattern }=\text { AAAB; Text }=\text { AAAAAAAAA; } m=4 ; n \times n=36 ; \text { the }} \\ {\text { exact number of comparisons is } 4 \times 6=24 .}\end{array}