Indium Software Interview Question

to find second maximum in an array