XYZ Interview Question

find 2nd largest element in array