one testcase fail out of four and
tell when i wrong
String compression
Hello @khemchandrs,
Your code will fail for test cases where a character is repeating more than 9 times.
Example:
aaaaaaaaaa
Expected Output:
a10
Your Output:
a:
Reason:
‘:’ comes next to ‘9’ in the ASCII standard.
Hope, this would help.
Give a like, if you are satisfied.