Pergunta de entrevista da empresa Indium Software

to find second maximum in an array