hacktoberfest2k20 / DataStructures-and-Algorithms

Structure the Data in a correct and efficient way :fire:
17 stars 74 forks source link

Rabin-Karp Algorithm for Pattern Searching #120

Open Akshay-Nagle opened 3 years ago

Akshay-Nagle commented 3 years ago

Rabin Karp algorithm matches the hash value of the pattern with the hash value of current substring of text, and if the hash values match then only it starts matching individual characters. So Rabin Karp algorithm needs to calculate hash values for following strings. 1) Pattern itself. 2) All the substrings of the text of length m

Akshay-Nagle commented 3 years ago

I want to work on this issue. Please assign me

stale[bot] commented 3 years ago

It will be now be reviewed manually. Thanks for contributions. If you have more concerns, you may get the conversation started at our discord server