Domanda di colloquio di Arcadia

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