This website requires JavaScript.
Explore
Help
Sign In
Repos-que-me-gustan
/
devops-exercises
Watch
1
Star
0
Fork
0
You've already forked devops-exercises
Code
Pull Requests
Activity
ab61a49f84
Branches
Tags
No results found.
devops-exercises
/
exercises
/
python
/
compress_string.md
abregman
3b05d95256
Add 57 new questions and exercises
2021-08-13 09:23:50 +03:00
234 B
Raw
Blame
History
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'