Hi Frnds,
I have a small scenario..
For e.g:If i pass a string as "aabbbcccc".O/P should be 2a3b4c
If i pass a string as "ddeefdffss".O/P should be 3d2e3f2s
Can anyone tell me the logic for this?
Thanks,
Rakesh
Hi Frnds,
I have a small scenario..
For e.g:If i pass a string as "aabbbcccc".O/P should be 2a3b4c
If i pass a string as "ddeefdffss".O/P should be 3d2e3f2s
Can anyone tell me the logic for this?
Thanks,
Rakesh