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 12% | |
#3 | 44 c. | Top 18% | |
#4 | 46 c. | Top 21% | |
#5 | 48 c. | Top 29% | |
#6 | 50 c. | Top 32% | |
#7 | 51 c. | Top 35% | |
#8 | 54 c. | Top 47% | |
#9 | 56 c. | Top 50% | |
#10 | 57 c. | Top 53% | |
#11 | 58 c. | Top 56% | |
#12 | 59 c. | Top 62% | |
#13 | 63 c. | Top 65% | |
#14 | 67 c. | Top 68% | |
#15 | 69 c. | Top 71% | |
#16 | 70 c. | Top 74% | |
#17 | 72 c. | Top 79% | |
#18 | 74 c. | Top 82% | |
#19 | 79 c. | Top 85% | |
#20 | 80 c. | Top 88% | |
#21 | 81 c. | Top 91% | |
#22 | 84 c. | Top 94% | |
#23 | 91 c. | Top 97% | |
#24 | 94 c. | Top 100% |