Fannie Mae interview question

reverse the string? write second highest salary on table?