How to search for overlapping substrings in another string python?
Answers
Answered by
0
Given a string and a sub-string, the task is to get the count of overlapping substring from the given string.
Note that in Python, the count() function returns the number of substrings in a given string, but it does not give correct results when two occurrences of the substring overlap
Similar questions
Hindi,
5 months ago
English,
5 months ago
Social Sciences,
5 months ago
Chemistry,
10 months ago
Computer Science,
10 months ago