From the page:<p>> One shall write a program that compresses string "AAABBAAC" to its compressed form "3A2B2A1C".<p>Interesting programming exercise. Although, the resulting string in the example is still the same length. The "algorithm" could be improved slightly by skipping the number for one-character substrings, e.g. "3A2B2AC"