// Minimum Size Subarray Sum — MEDIUM
// Category: sliding-window
Given an array of positive integers `nums` and a positive integer `target`, return the **minimum length** of a subarray whose sum is greater than or equal to `target`. If no such subarray exists, return `0`.
Input format: `target|nums`
**Constraints:**
- `1 <= target <= 10⁹`
Example: target = 7, nums = [2,3,1,2,4,3]
Output: 2