Two test case are not passing...not able to find them

@ashishnnnnn whats the question coz the question you mentioned is string compression but code seems to be something else

Code is of string compress…

Sorry i should change maxfreq name to something else…like compression

Here is the new code https://onlinegdb.com/HkrxJ1oJw

@ashishnnnnn for case aba
answer a1b1a1
your o/p a2b1
check it

Thank You Very Much…I misunderstood the question…Completed…

@ashishnnnnn np just mark it resolved and hit like :smiley:

1 Like