Problem 2139. most frequent character

Obtain the most frequent character. For example,


If there is a tie between letters, return the first result alphabetically.

Solution Stats

68.75% Correct | 31.25% Incorrect
Last solution submitted on Jun 28, 2017

Problem Comments

Solution Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!