String compression error in 2 test cases


i am getting error in 2 cases. can anyone tell me why?

@arnabmitra490 hey arnab you code is working with the test case like
aaaabbba
you code is giving output like
a5b3
but it should be give
a4b3a1

ok. i resolved the issue. code is working fine now. thank you