0
expanded alphabets
Given a string S with alphabets and their count, repeat the alphabets based on their count and print the value as the output. Input Format: The first line contains S. Output Format: The first line contains the alphabets repeated based on their count. Boundary Condition: 1 <= Length of S <= 100 Example Input/Output 1: Input: a2c5z4 Output: aaccccczzzz
1 Answer
0
It seems to be a challenge, you should tag it as such !