Domanda di colloquio di BSG ITSoft

Reverse the String without using the .length method and count the distinct character in a string.