After working with random strings of text all day in your office you start to wonder if there is an easier way to store the text. What you end up with is an idea for compression that you want to implement. You decided to replace repeated characters with their count followed by the character, i.e. AAAABBBCD
becomes 4A3BCD
.
Created
July 30, 2014 16:17
-
-
Save OfTheDelmer/ee93fb11c4d8f0cfb2fd to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://en.wikipedia.org/wiki/Run-length_encoding
:)