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 2% | |
#2 | 39 c. | Top 5% | |
#3 | 41 c. | Top 12% | |
#4 | 44 c. | Top 17% | |
#5 | 46 c. | Top 19% | |
#6 | 48 c. | Top 26% | |
#7 | 50 c. | Top 29% | |
#8 | 51 c. | Top 31% | |
#9 | 54 c. | Top 43% | |
#10 | 56 c. | Top 45% | |
#11 | 57 c. | Top 48% | |
#12 | 58 c. | Top 50% | |
#13 | 59 c. | Top 55% | |
#14 | 63 c. | Top 57% | |
#15 | 64 c. | Top 60% | c |
#16 | 67 c. | Top 62% | |
#17 | 69 c. | Top 64% | |
#18 | 70 c. | Top 69% | |
#19 | 72 c. | Top 74% | |
#20 | 74 c. | Top 76% | |
#21 | 76 c. | Top 79% | |
#22 | 79 c. | Top 83% | |
#23 | 80 c. | Top 86% | |
#24 | 81 c. | Top 90% | |
#25 | 84 c. | Top 93% | |
#26 | 91 c. | Top 95% | |
#27 | 94 c. | Top 98% | |
#28 | 487 c. | Top 100% |