Yup, Boyer Moore Algorithm will do . In that just keep a count on number of times a particular pattern gets matched in the text.
Guys, Which algorithm do you think is better for String matching .Is it KMP or Boyer Moore ?? I think KMP is better ? On Mon, Jul 25, 2011 at 4:59 PM, hary rathor <[email protected]> wrote: > Boyer–Moore string search > algorithm<http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string_search_algorithm>for > fastest search ever introduced > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Rajeev N B <http://www.opensourcemania.co.cc> -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
