Pergunta de entrevista da empresa Enthought

How might a compression algorithm work?