Important Array Leetcode Question