Fade to Solo
Sliding Window

Longest Repeating Character Replacement

10 MINMleetcode ↗

Problem

Given a string of uppercase letters and an integer k, find the length of the longest substring you could turn into all-one-character by changing at most k characters within it.

10 MIN00:00unlocks in 10:00
locked10:00 left