Question d’entretien chez Razorpay

how to find second largest number on array