Pergunta de entrevista da empresa FlashBox

program to find out occurance of each character in a string without using sort or sorted