Instavans interview question

Find second largest element in the array