Problem 394 · Medium

Decode String

Decode a string encoded with nested brackets. Example: 2[abc]3[cd] -> abcabccdcdcd

Open the interactive visualisation