Pergunta de entrevista da empresa Oracle

return the second most repeated letter of a string.