Pregunta de entrevista de Mahisoft

Given a string ABBBCDEF return the compressed string e.g. A3BCDEF

Respuesta de la entrevista

Anónimo

12 oct 2020

I used a dictionary on C# to store every letter ocurrences and then with string builder return the result.