Paytm Money interview question

second maximum in array