A string matching algorithm wants to find the starting index m in string S[] that matches the search word W[].
>= 0
tanvir hasan