Paycom interview question

Return the char that has the highest frequency in a string.

Interview Answer

Anonymous

6 Nov 2021

I used a map and and incremented the integer every time the char appeared.