Paycom Interview Question

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

Interview Answer

Anonymous

Nov 6, 2021

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