Pregunta de entrevista de Verisk

Finding the second largest element in an array