check this
My code is correct but answer is coming wrong while submitting the code
@ankitdelhi20 no ankit chaudhary your code is failing
for the cases abbbaaa
your output is
a4b3
but it should be
a1b3a3
check this
@ankitdelhi20 no ankit chaudhary your code is failing
for the cases abbbaaa
your output is
a4b3
but it should be
a1b3a3