Pergunta de entrevista da empresa Amdocs

code to find frequency of each character?