Ayush7614 / Ayush7614/Daily-Coding-DS-ALGO-Practice
Rabin Karp Algorithm
Open
LGMSOC21
🟧 Level3
- Dominant language
- C++
- Stars
- 323
- Forks
- 472
- PR merge metrics
- No merged PRs in 30d
Description
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.
### Programming language
- [ ] C
- [ ] C++
- [ ] Java
- [x] Python
Contributor guide
Assessment
This issue has not been assessed yet.