Subarray Question On Leetcode Playground