Codes();

Zoom out : CTRTL -

Zoom in : CTRTL +

Rabin-Karp Algorithm

Enter the text and pattern

RabinKarp("TEXT","PATTERN")

Example

RabinKarp("GRAPHICALSTRUCTURE","ALSTR")

RabinKarp("GEEKS FOR GEEKS","GEEKS")

Hash Value for text : X

Hash Value for pattern : X