Skip to content
RED SAGSkills
hard20 pts · first answer countsgraphsgrid-graphsconnected-components

Island count with diagonal neighbours

How many islands of 1s are there with 4-direction neighbours, and how many with 8-direction neighbours?

1 0 1
0 1 0
1 0 1
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions