Leetcode easy array problems