Amazon interview question

Return the second largest element in an array.