Dassault Systèmes interview question

Write a code to find second largest number from given array.