Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Continuous Subarray Sum
Bookmark
Input
Input 1
Input 2
Input 3
Custom
nums
=
[23, 2, 4, 6, 7]
,
k
=
6
found = false
23
2
4
6
7
sum = 0
map = {}
algo
master
.
io
Step:
Initialize variables: sum=0, found=false, map={0:-1}
0 / 10
Input
Input 1
Input 2
Input 3
Custom
nums
=
[23, 2, 4, 6, 7]
,
k
=
6
0 / 10
found = false
23
2
4
6
7
sum = 0
map = {}
algo
master
.
io
Step:
Initialize variables: sum=0, found=false, map={0:-1}