Dassault Systèmes Interview Question

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