Second Largest Element Leetcode Question