Meta Interview Question

Compress a sequence of digits.