Pregunta de entrevista de Nokia

In Interview Round, I was asked to write a function that returns frequency of each element in a string. And you basically needed to use dictionary.