Compress a string given a frequency limit.
Unlock detailed company stats for this questionUpgrade
Compress the string given a frequency limit.
Example: "abbcccb" with limit 3 gives "a". Example: "aba" with limit 2 gives "aba".
Community answers
No answers contributed by the community yet.


