problem-STRINGS-MAX FREQUENCY CHARACTER
Take as input S, a string. Write a function that returns the character with maximum frequency. Print the value returned.
Test cases not passing
make a frequency array to keep record of frequency of each character in single iteration
after that just find max element in freq array
here is the code based on same approach see it