Two test cases are not running . Please find the error .
String Compression
@2018kucp1041
hello Lakshit,
your logic is not correct .
for example for input aaabbaa output should be a3b2a2 but urs is giving a5b2
i have edited the code since it is giving a correct answer for any string i am taking but the no test case is passing . Please tell me what mistakes i am doing in this code
problem solved . Thanks for you time
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.