Longest Repeating Character Replacement — Sliding Window
Given a row of capital-letter banner tiles and a fixed number of allowed swaps, report the most same-letter tiles that can end up side by side.
Sliding Window · Medium
Given a row of capital-letter banner tiles and a fixed number of allowed swaps, report the most same-letter tiles that can end up side by side.
Sliding Window · Medium