I can’t understand what’s the question want to say? What does k mean here?
SanketAndStrings can't understand
@sroy3166
k is the atmost changes you can make in a string.
You can make atmost k characters you can change.
You have to return the length of longest same character substring you can get after making at most k changes.
i.e
aaba and k = 1
then i would change b to a and get the “aaaa” as the same character longest substring.