Avanza interview question

Find the second max in an array.