03.03 · Problem
Longest Repeating Character Replacement
This problem is part of solulu Pro
s contains only uppercase English letters. You may change at most k characters to any other uppercase letter. Return the length of the longest substring that can be made of a single repeated letter.
Lifetime ₹1,999 ₹999 · Launch offer
Item 17 of 150 · updated 2026-10-12