โ† Goldman Sachs questions

Burst length string reduction

Filed under Goldman Sachs

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.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.