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 | 43 c. | Top 56% | |
#3 | 46 c. | Top 63% | |
#4 | 47 c. | Top 69% | |
#5 | 50 c. | Top 75% | |
#6 | 54 c. | Top 81% | |
#7 | 55 c. | Top 88% | |
#8 | 76 c. | Top 94% | |
#9 | 411 c. | Top 100% |