Frage im Vorstellungsgespräch bei Motivity Labs

write the code for finding the 2nd maximum element in an array