Skip to content
TryAlgoViz
Algorithms
Articles
CS Fundamentals
Problems
Roadmap
Dashboard
Theme
Min Size Subarray Sum — TryAlgoViz
Min Size Subarray Sum
medium
Description
Hints
Discussion
Visual examples
Example 1
Input
2
0
3
1
1
2
2
3
4
4
3
5
Output
2
Example 2
Input
1
0
4
1
4
2
Output
1
Python
Reset
Run
Ctrl+Enter
Loading editor…
Test Case 1
Test Case 2
Input
2
0
3
1
1
2
2
3
4
4
3
5
nums
2
0
3
1
1
2
2
3
4
4
3
5
Expected Output
2