Still nt working for test case 2
Not passing the 2 test case
Hello @ankitdelhi20,
This is because the count of a particular character can be more than 9.
In this it would return a wrong output.
Exanple:
aaaaaaaaaa
Expected Output:
a10
Your Output:
a:
Explanation:
“:” is the next character to “9” in the ASCII series.
Check for each digit of count.
Hope, this hint would help.
Give a like if you are satisfied.