Sha256: 7831786c353944bcdda2e816ba0e1e9f06b76b15d221f588d8795547eb70f5bd

Contents?: true

Size: 595 Bytes

Versions: 7

Compression:

Stored size: 595 Bytes

Contents

Run-length encoding (RLE) is a simple form of data compression, where runs
(consecutive data elements) are replaced by just one data value and count.

For example we can represent the original 53 characters with only 13.

```
"WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWB"  ->  "12WB12W3B24WB"
```

RLE allows the original data to be perfectly reconstructed from
the compressed data, which makes it a lossless data compression.

```
"AABCCCDEEEE"  ->  "2AB3CD4E"  ->  "AABCCCDEEEE"
```

For simplicity, you can assume that the unencoded string will only contain
the letters A through Z.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trackler-2.0.6.34 common/exercises/run-length-encoding/description.md
trackler-2.0.6.33 common/exercises/run-length-encoding/description.md
trackler-2.0.6.32 common/exercises/run-length-encoding/description.md
trackler-2.0.6.31 common/exercises/run-length-encoding/description.md
trackler-2.0.6.30 common/exercises/run-length-encoding/description.md
trackler-2.0.6.29 common/exercises/run-length-encoding/description.md
trackler-2.0.6.28 common/exercises/run-length-encoding/description.md