The Blind 75 Leetcode Series: Longest Repeating Character Replacement
4 min readNov 7, 2023
Today, we are working on 424. Longest Repeating Character Replacement
You are given a string
s
and an integerk
. You can choose any character of the string and change it to any other uppercase English character. You can perform this operation at mostk
times.Return the length of the longest substring containing the same…