Pergunta de entrevista da empresa Luxoft

Reverse a String How many different character are in a given string.