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