Fastest string search algorithm.

Please suggest me which string search algorithm is the fastest.

you can use KMP or Z algo ,both works in same complexity of O(m+n)

3 Likes

I guess the fastest is the Boyer Moore algorithm.Z-Algo does fine work too.