edualgo / eduAlgo

A simple python package having modules of different algorithms to use in educational purposes.
https://edualgo.github.io/documentation/
MIT License
99 stars 54 forks source link

Plagiarism Detection :: Patten Matching by hashing - Rabin Karp Algorithm #160

Open Abhijit2505 opened 2 years ago

Abhijit2505 commented 2 years ago

Wikipedia Says,

In computer science, the Rabin–Karp algorithm or Karp–Rabin algorithm is a string-searching algorithm created by Richard M. Karp and Michael O. Rabin (1987) that uses hashing to find an exact match of a pattern string in a text. It uses a rolling hash to quickly filter out positions of the text that cannot match the pattern, and then checks for a match at the remaining positions. Generalizations of the same idea can be used to find more than one match of a single pattern, or to find matches for more than one pattern.

Read more about the algorithm here.

Acceptance Condition

pawankm21 commented 2 years ago

I would like to work on this issue

Abhijit2505 commented 2 years ago

@pawankm21 please get started.

pawankm21 commented 2 years ago

yeah, on it.

vacom13 commented 2 years ago

@Abhijit2505 Has this been worked on? If not could I take it up?