Given a string s and an integer k, return the length of the longest substring of s such that the frequency of every character in that substring is at least k. If no such substring exists, return
Constraints:
s.length
s consists of only lowercase English letters.
k
Given a string s and an integer k, return the length of the longest substring of s such that the frequency of every character in that substring is at least k. If no such substring exists, return
Constraints:
s.length
s consists of only lowercase English letters.
k