unnested
Learn
Practice
Pro
Sign in
Longest Repeating Character Replacement - Medium Python Sliding Window Interview Problem | Unnested
Longest Repeating Character Replacement
Medium
←
→
Sliding Window
problem
submissions
Pro problem
Upgrade to Unnested Pro to unlock Medium and Hard problems.
View pricing
Python 3
Save failed
All tests passed
Test Cases
Output
Case 1
Log in to run
Log in to submit