ByteDance / TikTokCoding·45 minMembers
Longest Repeating Character Replacement
Members only
The unmodified LeetCode 424 prompt: replace at most `k` characters in an uppercase string and return the longest substring that can be made entirely one repeated character.
SWE
string
sliding-window
medium
Frequency
Single report
Last asked
2026-07-23
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
