Skip to content

Commit 5098fbf

Browse files
authored
Update minimum_size_subarray_sum.py
1 parent 7476e78 commit 5098fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_programming/minimum_size_subarray_sum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def minsubarraysum(target: int, nums: list[int]) -> int:
33
Returns the length of the shortest contiguous subarray
44
in nums whose sum is at least target.
55
6-
Examples:
6+
Examples :
77
>>> minsubarraysum(7, [2, 3, 1, 2, 4, 3])
88
2
99
>>> minsubarraysum(7, [2, 3, -1, 2, 4, -3])

0 commit comments

Comments
 (0)