HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof âš¡
MIT License
875 stars 1.05k forks source link

Rabin-Karp Algorithm for Pattern Searching [gssoc21] #2943

Closed kavyasree-123 closed 3 years ago

kavyasree-123 commented 3 years ago

💥 Proposal

Rabin-Karp Algorithm used for pattern searching The average and best-case running time of the Rabin-Karp algorithm is O(n+m), but its worst-case time is O(nm)

Have you read the Contributing Guidelines on Pull Requests?

yes i have read it carefully

kavyasree-123 commented 3 years ago

To give a clear idea lets have inputs and outputs

Input: str[] = "abcdefghji" word[] = "abc" Output: Pattern is at position 1

kavyasree-123 commented 3 years ago

want to work on this issue please assign it to me @bhav09 @HarshCasper @asthakri50

bhav09 commented 3 years ago

@kavyasree-123, what is the programming language you would be implementing it on?

kavyasree-123 commented 3 years ago

in c language

bhav09 commented 3 years ago

Great, all the best!