Regarding test case fail
hello @sraj39273
u have misunderstood the problem
u have to compress only consecutive same character.
for example->
aaaabba will be compressed as a4b2a1
can you just tell me what is wrong in this program
…
i already stated in my previous response.
once check the example that i shared above
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.