Sir the code is working fine against custom inputs , but 2/4 tc r failing. Am not able to find the error. Thank you
Code Link :-
Sir the code is working fine against custom inputs , but 2/4 tc r failing. Am not able to find the error. Thank you
Code Link :-
The output for aabbaa
should be a2b2a2
@debojyoti.koley.dk keep counting the characters, if a diff character comes print the prev character and count, reset it to zero and keep doing this for the whole string
@debojyoti.koley.dk if you download the tc you will not get points for this problem. They are available in solution section
@Ishitagambhir thank you ma’am. Passed all test cases.
Code link :- https://ide.codingblocks.com/s/579336
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.