int search_kmp(char *text, const char *pattern)
Finds the first occurrence of a pattern in a text using the Knuth-Morris-Pratt (KMP) algorithm.
int search_bm(char *text, const char *pattern)
Finds the first occurrence of a pattern in a text using the Boyer-Moore string searching algorithm.
int search_kr(char *text, const char *pattern)
Finds the first occurrence of a pattern in a text using the Karp-Rabin algorithm.
int search_naive(char *text, const char *pattern)
Finds the first occurrence of a pattern in a text using the naive string searching algorithm.