Anonymous user
Talk:Count occurrences of a substring: Difference between revisions
Talk:Count occurrences of a substring (view source)
Revision as of 21:12, 15 October 2019
, 4 years agocapitalized "bif".
(→More specific?: caseless and whitespace comments. -- ~~~~) |
m (capitalized "bif".) |
||
Line 14:
Yes, the problem is stated ambiguously and was probably inspired by some particular language's implementation of a built in function. It would be more appropriate to count all occurrences of a substring. Counting the maximum number of non-overlapping substrings can turn into a very complicated problem requiring backtracking.
: Yes, some languages'
|