codemistic / Data-Structures-and-Algorithms

A repository to help the open-source community with DSA related contributions
MIT License
373 stars 350 forks source link

create find-substring-with-given-hash-value.cpp #466

Closed Aman5989 closed 2 years ago

Aman5989 commented 2 years ago

I reversed the string and calculated the hashes using the Rabin-Karp algorithm.

please add hacktoberfest tags.