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

69.57% Correct | 30.43% Incorrect
Last solution submitted on Sep 20, 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!