Enthought Interview Question

How might a compression algorithm work?