Second Maximum Number In Array Leetcode Question