Question d’entretien chez Stack Overflow

“Easy” Interview: Write an algorithm to perform Run-Length Encoding in your preferred language.