Skip to content

Implementation of various string matching algoriths in C compatible with strstr().

Notifications You must be signed in to change notification settings

joaomsa/StringSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currently implemented:
    Naive search algorithm;
    Knuth-Morris-Pratt (KMP) algorithm;
    Boyer-Moore-Horspool (BMH) algorithm;
    Bitap (Shift-And) algorithm;

Parameters and return values are the same as strstr() from string.h allowing simple drop in replacement.

Main program meant to solve:
    https://br.spoj.pl/problems/PLAGIO/

About

Implementation of various string matching algoriths in C compatible with strstr().

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages