Return every starting index where a substring appears, including overlapping matches.
Constraints
Example
>>> find_all_indexes('hello world', 'o')
[4, 7]
>>> find_all_indexes('ababa', 'aba')
[0, 2]
>>> find_all_indexes('test test', 'test')
[0, 5]
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints