Given a compressed string representing characters followed by their frequencies (e.g., 'a3b6c4'), write a program to expand and return the fully uncompressed string (e.g., 'aaabbbbbbccccc').
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.