Find the Most Frequent Character

Write a code that takes a string and returns the character that appears the most frequently. If there are multiple characters with the same frequency, return any of them.
banana
Total : 0 Discussion
Login