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 | 29 c. | Top 3% | |
#2 | 39 c. | Top 5% | |
#3 | 41 c. | Top 13% | |
#4 | 44 c. | Top 18% | |
#5 | 46 c. | Top 21% | |
#6 | 48 c. | Top 29% | |
#7 | 50 c. | Top 32% | |
#8 | 51 c. | Top 34% | |
#9 | 54 c. | Top 45% | |
#10 | 56 c. | Top 47% | |
#11 | 57 c. | Top 50% | |
#12 | 58 c. | Top 53% | |
#13 | 59 c. | Top 58% | |
#14 | 63 c. | Top 61% | |
#15 | 67 c. | Top 63% | |
#16 | 69 c. | Top 66% | |
#17 | 70 c. | Top 68% | |
#18 | 72 c. | Top 74% | |
#19 | 74 c. | Top 76% | |
#20 | 76 c. | Top 79% | |
#21 | 79 c. | Top 82% | |
#22 | 80 c. | Top 84% | |
#23 | 81 c. | Top 89% | |
#24 | 84 c. | Top 92% | |
#25 | 91 c. | Top 95% | |
#26 | 94 c. | Top 97% | |
#27 | 487 c. | Top 100% |