Goldman Sachs Interview Question

Find the second max element from an array