Question d’entretien chez Arcadia

In tech round they asked "Find second largest element in array"