Pergunta de entrevista da empresa Capgemini

Find the 2nd largest element in the given array.