Pergunta de entrevista da empresa Mahisoft

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

Resposta da entrevista

Sigiloso

12 de out. de 2020

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