String Compression Problem

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

hello @rachitbansal2500
refresh the tab and then click on test cases option .it will work.

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