The number of comparisons in brute force string search

2.4k Views Asked by At

In the brute force approach to string search, how many character comparisons will the algorithm make when searching for "lido" in the string "supercalifragilisticexpialidocious"?