Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Making A Large Island
Bookmark
Input
2x2 Diagonal
Two Islands
Three Islands
All Land
All Water
Custom
grid
=
[[1,0],[0,1]]
1
0
0
1
algo
master
.
io
Step:
Making a Large Island: flip one 0 to 1 to build the biggest possible island
0 / 17
Input
2x2 Diagonal
Two Islands
Three Islands
All Land
All Water
Custom
grid
=
[[1,0],[0,1]]
0 / 17
1
0
0
1
algo
master
.
io
Step:
Making a Large Island: flip one 0 to 1 to build the biggest possible island