โ† Thoughtworks questions

Expand encoded string

Filed under Thoughtworks

The question

Given a compressed string like '3(ab)4(cd)', expand it to its full repeated form.

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

Related Thoughtworks questions

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