Pregunta de entrevista de Check Point Software Technologies

find the second maximum on an array.