Number of Islands iterating matrix and marking nodes as visited

前端 未结 0 1590
攒了一身酷
攒了一身酷 2021-01-20 08:40

A description to the problem: https://leetcode.com/problems/number-of-islands/

Basically you have a matrix with 1s and 0s, and you need to count how many groups of 1s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题