Domanda di colloquio di Mahisoft

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

Risposta di colloquio

Anonimo

12 ott 2020

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