Computer Science, asked by sakshimishra3694, 10 months ago

How to search for overlapping substrings in another string python?

Answers

Answered by oOMimosaoO
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