โ† Spotify questions
CodingReported in a candidate post, Jun 2019

String compression with max repetition limit

Filed under Spotify

The question

Given a string of consecutively repeated characters and a max value limit, return a new string respecting that maximum repetition limit per character.

No write-up yet. Related questions below have one.

Related Spotify questions

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