Hey my code is failing one test case. I am unable to open the test cases. Can you please let me know which test case is that? https://ide.codingblocks.com/s/243325
String Compression Problem
The code isnβt working for aaaaaaaaaaaaaaagggxsxssyyyyyoooooooooolllllwwqwdeddddddddkjjjoooooooooooooooooooo please help me. How to correct the code to accommodate the freq of a character in two digits or more. Would be great if you use the insert function.
use to_string to convert count to string.
count+β0β will work only when value of count in between 0 to 9.
1 Like