Learn
Practice
Newsletter
Resources
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
← Back to All Animations
Max Consecutive Ones
Bookmark
Input
Input 1
Input 2
All Zeros
Custom
nums
=
[1, 1, 0, 1, 1, 1]
1
1
0
1
1
1
0
count
0
maxCount
algo
master
.
io
Step:
Start of algorithm
0 / 20
Input
Input 1
Input 2
All Zeros
Custom
nums
=
[1, 1, 0, 1, 1, 1]
0 / 20
1
1
0
1
1
1
0
count
0
maxCount
algo
master
.
io
Step:
Start of algorithm