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.
1 parent ca20b36 commit 31fcb94Copy full SHA for 31fcb94
problems/problems_827/solution.py
@@ -13,8 +13,6 @@ def largestIsland(self, grid: List[List[int]]) -> int:
13
def point_to_idx(x, y):
14
return x * n + y
15
16
-
17
18
n = len(grid)
19
uf = UnionFind(n * n)
20
for i, row in enumerate(grid):
0 commit comments