Please enable JavaScript to use CodeHS

CodeHS Glossary


Run-length encoding General

A lossless compression technique that replaces each run of repeated values with a count and the value. For example, AAAABBBCC is stored as 4A 3B 2C, which can be expanded back to the exact original.