HSBC interview question

Second largest element in an array