Pregunta de entrevista de Fannie Mae

reverse the string? write second highest salary on table?