Count subarrays summing to target | TikTok Coding Question