You are working on a very basic text compression system to save space in data transmissions. This system uses the Run-Length Encoding (RLE) method, a lossless compression technique that consists of replacing consecutive sequences of identical characters with a single occurrence of the character followed by the number of consecutive repetitions.
Your goal is to implement two independent functions:
One that compresses text strings using this algorithm.
Another that decompresses strings previously compressed using this format.
Both functions must be robust enough to handle small, empty, or non-significantly compressed inputs.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!