Skip to content

Jakebo/BoyerMoore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoyerMoore

Boyer–Moore string search algorithm A very simple code that implements the "bad char rule" to search string. And "Good suffix rule" has not implemented yet.

Build

$ git clone https://github.com/Jakebo/BoyerMoore.git
$ cd BoyerMoore
$ make

Usage

Run with two arguments, for example:

jakebo@jakebo-PC:~/work/boyermoore$ ./boyermoore "Search a string with boyermoore" "string"
Search a string with boyermoore
string

Search a string with boyermoore
------string

Search a string with boyermoore
---------string

string found at 9

About

Boyer–Moore stringsearch algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published