Tech Mahindra Interview Question

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