Pregunta de entrevista de Nextuple

Find the character in a string whose frequency is second largest