Pregunta de entrevista de Tata Consultancy Services

Code to find the second largest element in an array