Pregunta de entrevista de Microsoft

Write a function that performs run-length encoding on a string.