Arcadia interview question

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