We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51bcb14 commit e09f6a7Copy full SHA for e09f6a7
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