Frequency of a character in a string

Problem Name:
Frequency of a character in a string
Site:HackerEarth
Links:
Tags:
Problem setters: