Snapsheet Interview Question

Find the most frequent character within a string.

Interview Answer

Anonymous

Jun 17, 2021

Create an array that can store every ASCII character, increment that element when the character appears, then find the maximum in that array after.