Pregunta de entrevista de Publicis Sapient

Find the occurrence of each character in a string using hash