An easy to implement an algorithm that finds the pattern in a given text.
Have you read the Contribution Guidelines?
Yes
Pitch
Given a text text[] and a pattern[], write a function search(char pattern[], char text[]) that prints all occurrences of pattern[] in text[].
Example : text[] = "My Name is Manas"
pat[] = "Manas"
Solution : Pattern found at index 12
🚀 Feature
An easy to implement an algorithm that finds the pattern in a given text.
Have you read the Contribution Guidelines?
Yes
Pitch
Given a text text[] and a pattern[], write a function search(char pattern[], char text[]) that prints all occurrences of pattern[] in text[]. Example : text[] = "My Name is Manas" pat[] = "Manas" Solution : Pattern found at index 12