Pregunta de entrevista de Informatica

How would we find the first most occurring character?