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
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
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