Pregunta de entrevista de PayJoy

Find the 2nd max in an array.