Determine the frequency of the most common letter in a string.
Write a program that accepts a string and returns the frequency of the most frequent letter in the string. The input string will only contain lowercase letters. If two or more letters have the same highest frequency, return the frequency of any one of them.
# | Size | % | Users |
---|---|---|---|
#1 | 39 c. | Top 3% | |
#2 | 41 c. | Top 13% | |
#3 | 44 c. | Top 20% | |
#4 | 46 c. | Top 23% | |
#5 | 48 c. | Top 33% | |
#6 | 51 c. | Top 37% | |
#7 | 54 c. | Top 50% | |
#8 | 56 c. | Top 53% | |
#9 | 57 c. | Top 57% | |
#10 | 58 c. | Top 60% | |
#11 | 59 c. | Top 67% | |
#12 | 63 c. | Top 70% | |
#13 | 67 c. | Top 73% | |
#14 | 69 c. | Top 77% | |
#15 | 70 c. | Top 80% | |
#16 | 72 c. | Top 87% | |
#17 | 80 c. | Top 90% | |
#18 | 81 c. | Top 93% | |
#19 | 84 c. | Top 97% | |
#20 | 91 c. | Top 100% |