Tech Mahindra interview question

Q: How to find second largest element in an array?