Learn
Practice
Newsletter
Resources
Mobile
New
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Move Zeroes
Bookmark
Input
Input 1
Input 2
Input 3
Custom
nums
=
[2, 1, 0, 0, 4, 0, 5]
0
1
2
3
4
5
6
2
1
0
0
4
0
5
0
1
2
3
4
5
6
2
1
0
0
4
0
5
0
1
2
3
4
5
6
2
1
0
0
4
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
4
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
4
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
4
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
4
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
5
0
4
i
insertPos
0
1
2
3
4
5
6
2
1
0
0
5
0
4
i
insertPos
0
1
2
3
4
5
6
2
1
4
0
0
0
5
i
insertPos
0
1
2
3
4
5
6
2
1
4
0
0
0
5
algo
master
.
io
Step:
Start of algorithm
0 / 17
Input
Input 1
Input 2
Input 3
Custom
nums
=
[2, 1, 0, 0, 4, 0, 5]
0 / 17
algo
master
.
io
Step:
Start of algorithm