Test Case 2 failed
hello @gautam74
count can be more than 9 (i.e it can have 2 digits as well ) so u cannot do this all the time.
out[j+1] = count+‘0’;(this works only for count <=9)
run this test case for clarity->
aaaaaaaaaaaaaa
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.