Run-length encoding
Writes a text as its runs, each run of the same letter as how many times and the letter, so aaab becomes 3a1b. A text that repeats comes out shorter; a text with no letter twice in a row comes out twice as long.
the text along the top row; under each run's first letter, how many times, then the letter
- letters compared
- 0
- characters written
- 0
step 1 of 1
Examples