String Compression 1

Can you give me failed test cases,my solution is :

@gyrsh hey vibhour try to handle this case
abbbbbaaaaa
Your code is giving wrong output a6b5.
But it should give
a1b5a5