Easy Array Questions Leetcode 150