Given a string s and an integer k, return the total number of substrings of s where at least one character appears at least k times.
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
k s.length
s consists only of lowercase English letters.
Given a string s and an integer k, return the total number of substrings of s where at least one character appears at least k times.
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
k s.length
s consists only of lowercase English letters.