Pregunta de entrevista de Fanatics

Find the second largest integer of an array, optimized version.