Minimum Size Subarray Sum

Given an array nums of positive integers and a positive integer target, return the minimum length of a contiguous subarray whose sum is greater than or equal to target. Return 0 if no such...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: