You've already forked devops-exercises
mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2025-07-09 23:45:42 +02:00
Name it instead "topics" so it won't be strange if some topics included "exercises" directory.
234 B
234 B
Compress String
- Write a function that gets a string and compresses it
- 'aaaabbccc' -> 'a4b2c3'
- 'abbbc' -> 'a1b3c1'
- Write a function that decompresses a given string
- 'a4b2c3' -> 'aaaabbccc'
- 'a1b3c1' -> 'abbbc'