Subarray Question On Leetcode Solutions C