Grokking Meta Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
There is a lake in this test case. This problem should be better described.

lejafilip

Sep 6, 2024

[1,1,1,1,1,1,1,1,1,1],

[1,0,0,0,0,0,0,0,0,1],

[1,0,1,1,1,1,1,1,0,1],

[1,0,1,0,0,0,0,1,0,1],

[1,0,1,0,1,1,0,1,0,1],

[1,0,1,0,1,1,0,1,0,1],

[1,0,1,0,0,0,0,1,0,1],

[1,0,1,1,1,1,1,1,0,1],

[1,0,0,0,0,0,0,0,0,1],

[1,1,1,1,1,1,1,1,1,1]]

Every water in a island is a lake. Additionally we have several islands. They aren't mentioned in description. What should I do with them? Count or not?

0

0

Comments
Comments

On this page