← All problems
Medium · Stack

Decode String

Expand nested repetition expressions such as 2[ab].

Full problem and submission ↗
main.js

Console

Ready