Suppose user input a string and returns the character that occurs the most frequently in it.
Example - Aptara ---Here ans is a 3 times
1212332133733-- Here ans is 3