Shrine Software Interview Question

Second highest element of array