Pergunta de entrevista da empresa Tata Consultancy Services

Code to find the second largest element in an array