DEV Community

Discussion on: Amazon's Interview Question: Count Island

Collapse
 
cipak profile image
Ciprian Șerbu

a correct way to say it would be "an island is a group of adjacent cells that are all 1s, surrounded by 0s or array's margins"