HSBC Interview Question

Second largest element in an array