Razorpay interview question

how to find second largest number on array