edualgo / interview-corner

Many time, when an interview approaches, candidates start searching for different algorithms in different programming languages for practise. This project aims to build a website which will contain the codes along with the techniques and explanations so that it can be helpful for many
https://opensource.edualgoacademy.com/interview-corner/
MIT License
42 stars 41 forks source link

Rabin-Karp Algorithm for Pattern Searching(c++) #76

Open uditphoolwani opened 3 years ago

uditphoolwani commented 3 years ago

Given a text and a pattern write a function to find all the occurrences of text in the pattern. Ex text = "AABAACAADAABAABA" pattern = "AABA" Output: Pattern found at index 0 Pattern found at index 9 Pattern found at index 12

@Abhijit2505 Sir, Please assign me this issue under SWOC