Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Unique Paths II
Bookmark
Input
Example 1
Example 2
Example 3
No way through
Custom
grid
=
[[0,0,0],[0,1,0],[0,0,0]]
grid =
3x3
start
end
move only right or down; crossed cells are walls
algo
master
.
io
Step:
Same walk, right or down only, but now some cells are walls
0 / 12
Input
Example 1
Example 2
Example 3
No way through
Custom
grid
=
[[0,0,0],[0,1,0],[0,0,0]]
0 / 12
grid =
3x3
start
end
move only right or down; crossed cells are walls
algo
master
.
io
Step:
Same walk, right or down only, but now some cells are walls