To find all substrings in the given string s where any character repeats at least k times within that substring
test case:
s=ceccca
k=3
output=7
Comments (5)
To find all substrings in the given string s where any character repeats at least k times within that substring
test case:
s=ceccca
k=3
output=7