Given a string and a burst length k, output the string such that any sequence of consecutive identical characters of length >= k is removed, potentially causing cascading removals.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.