Compress strings by replacing sequences of identical characters with that character followed by a count.
Run-length encoding (RLE) compresses strings by replacing sequences of identical characters with that character prefixed by a count. For instance, aaaabcccaa
should be compressed to 4a1b3c2a
.
# | Size | % | Users |
---|---|---|---|
#1 | 42 c. | Top 50% | |
#2 | 46 c. | Top 57% | |
#3 | 47 c. | Top 64% | |
#4 | 50 c. | Top 71% | |
#5 | 52 c. | Top 79% | |
#6 | 54 c. | Top 86% | |
#7 | 55 c. | Top 93% | |
#8 | 411 c. | Top 100% |