Bloomberg interview question

Coding Question - Print a given string such as 3[a]2[ab[2[cc]] as output aaaabccccabcccc

Interview Answer

Anonymous

7 Jun 2019

I got stuck in some string handling function i was making, and was not able to solve