Pergunta de entrevista da empresa Snapsheet

Find the most frequent character within a string.

Resposta da entrevista

Sigiloso

17 de jun. de 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.