← Questions
Making a large island
0
I was asked this
No reports yet. Sign in to say where you were asked it.
In a binary grid you may change at most one water cell to land. Return the size of the largest island you can end up with. Label each island and its size once, then try each water cell against its distinct neighbouring islands.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
