Implement `minSubArrayLen(target, nums)` returning the length of the smallest contiguous subarray whose sum is at least `target`, or `0` if none exists. All values are positive.
Run your code to see results.