Array Questions On Leetcode 150 Solution