Pregunta de entrevista de Nationwide

Codility test to count maximum. Strings..