Longest Repeating Character Replacement
MediumSliding Window
The problem
With k allowed replacements, find the longest substring of a single repeated character.
Full statement, examples and constraints: see the original problem link below.
With k allowed replacements, find the longest substring of a single repeated character.
Full statement, examples and constraints: see the original problem link below.