Important Array Questions Leetcode Problem