CGI interview question

Finding second highest number in a array