+ 4
Write the code for the series eg: If a3b2c4 ..is taken then output should be aaabbcccc?
can anyone write a code or algorithm ?
3 Réponses
+ 3
loop over the string, if the char in the string position matches anscii code of letters then record it and the position + 1 in a dictionary and then build a string from that dictionary. Remember to increase the counter by 2.
0
hello 👋
0
hello sadiya zainab..