Question d’entretien chez IBM

Find second largest element in the given array