Easy Array Questions Leetcode 754