Pergunta de entrevista da empresa CGI

Finding second highest number in a array