NovoInvent Interview Question

Second max element in array