Question d’entretien chez Stack Overflow

Simple coding task: write a compression algorithm (Run-length encoding)