We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 432f9da commit b9332caCopy full SHA for b9332ca
Python/number-of-distinct-islands.py
@@ -17,7 +17,7 @@ def dfs(i, j, grid, island):
17
return False
18
grid[i][j] *= -1
19
for k, v in directions.iteritems():
20
- island.append(k);
+ island.append(k)
21
dfs(i+v[0], j+v[1], grid, island)
22
return True
23
0 commit comments