Pergunta de entrevista da empresa Sudeep Pharma Limited

Write a function to find the second largest number in an array.