Bloomberg Interview Question

Leetcode Medium expand on strings 3[a] = aaa 2[a[2[b]] = abbabb