We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc1ac34 + e09f6a7 commit ed259edCopy full SHA for ed259ed
200-Number-of-Islands.py
@@ -4,7 +4,6 @@ def numIslands(self, grid: List[List[str]]) -> int:
4
return 0
5
6
islands = 0
7
- q = collections.deque()
8
visit = set()
9
rows, cols = len(grid), len(grid[0])
10
0 commit comments