Pregunta de entrevista de Kenstel Communications

Find the second maximum element of an array .