Question d’entretien chez Goldman Sachs

Repeated characters string encoding (aabbbc -> a2b3c)