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 4% | |
#3 | 41 c. | Top 11% | |
#4 | 44 c. | Top 15% | |
#5 | 46 c. | Top 17% | |
#6 | 48 c. | Top 24% | |
#7 | 49 c. | Top 26% | |
#8 | 50 c. | Top 30% | |
#9 | 51 c. | Top 33% | |
#10 | 54 c. | Top 48% | |
#11 | 56 c. | Top 50% | |
#12 | 57 c. | Top 52% | |
#13 | 58 c. | Top 54% | |
#14 | 59 c. | Top 59% | |
#15 | 63 c. | Top 61% | |
#16 | 64 c. | Top 63% | c |
#17 | 67 c. | Top 65% | |
#18 | 69 c. | Top 67% | |
#19 | 70 c. | Top 72% | |
#20 | 72 c. | Top 76% | |
#21 | 74 c. | Top 78% | |
#22 | 76 c. | Top 80% | |
#23 | 79 c. | Top 85% | |
#24 | 80 c. | Top 87% | |
#25 | 81 c. | Top 91% | |
#26 | 84 c. | Top 93% | |
#27 | 91 c. | Top 96% | |
#28 | 94 c. | Top 98% | |
#29 | 487 c. | Top 100% |