re: Amazon's Interview Question: Count Island VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

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"

code of conduct - report abuse