Longest Substring in which all the characters appears exactly k times
find the length of longest substring in which all the characters appear exactly k times
“ababacb”, K = 3
ans =0
aabbba”, K = 3
ans = 6
Comments (0)