Given a string and an integer k, you may replace up to k characters. Return the length of the longest substring of a single repeating character.
Practise this challenge
All coding challenges