← All problems
Medium · Sliding Window

Longest Repeating Character Replacement

Find the longest uniform substring possible with at most k replacements.

Full problem and submission ↗
main.js

Console

Ready