Two of the testcases are giving wrong ans. Pls check the code. https://ide.codingblocks.com/s/93366
String compression wrong ans
@urvigoel26 hey urvi you code is giving wrong output for case like abbbbaaaaaa
Your output is a7b4a7 but it should be like a1b4a6