http://www.perlmonks.org?node_id=1074292


in reply to Boyer Moore algorithm

Boyer Moore algorithm

Boyer Moore Hoospool algorithm

There are implementations on the Wikipedia pages for a number of languages as well as the associated pseudocode. Please read How do I post a question effectively?, perhaps lingering on the chunk about "And a few added points:".


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.