Most Frequent Letter Count

Determine the frequency of the most common letter in a string.

Easy12/15/2023

Problem statement

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.

Problem leaderboard

#
Size
%
Users
#1
29 c.
Top 2%
SephQ
#2
39 c.
Top 5%
Irratix
#3
41 c.
Top 11%
tree
lydxn
voytxt
#4
44 c.
Top 16%
Steffan
danielgjackson
#5
46 c.
Top 18%
Natanaelel
#6
48 c.
Top 25%
davyboyh
Shanethegamer
scpchicken
#7
50 c.
Top 27%
Salutations45
#8
51 c.
Top 30%
sisyphus-ppcg
#9
54 c.
Top 41%
Thomas
adh98
SXW172P_thdgit
maximec-indy
randolchance
#10
56 c.
Top 43%
marc-indy
#11
57 c.
Top 45%
KrausRaus
#12
58 c.
Top 48%
Thomasdcrt
#13
59 c.
Top 52%
AlephSquirrel
mathis
#14
60 c.
Top 55%
Ryan
#15
63 c.
Top 57%
val
#16
64 c.
Top 59%
c
#17
67 c.
Top 61%
CorentinTh
#18
69 c.
Top 64%
Pascal
#19
70 c.
Top 68%
CGjupoulton
Mif712
#20
72 c.
Top 73%
alexisab
madeforlosers
#21
73 c.
Top 75%
Lv0Sys
#22
74 c.
Top 77%
dmarkenstein
#23
76 c.
Top 80%
josex2r
#24
79 c.
Top 84%
Logicer
thaispalmer
#25
80 c.
Top 86%
Seboran
#26
81 c.
Top 91%
Vincent
cers
#27
84 c.
Top 93%
ComputerKWasTaken
#28
91 c.
Top 95%
Benio
#29
94 c.
Top 98%
cabz0r
#30
487 c.
Top 100%
Sidd5arth