I was learning rabin karp algorithm and solving a basic problem of finding indices of pattern in a string with the help of string hashing technique. But the code is just not printing out anything.
I used this algorithm yesterday to solve a problem and got AC but now I'm unable to find where's the issue.
here's my Code Please help.