matrix.count_islands_in_matrix
Module Contents
-
class matrix.count_islands_in_matrix.Matrix(row: int, col: int, graph: list[list[bool]])
-
count_islands() → int
-
diffs(i: int, j: int, visited: list[list[bool]]) → None
-
is_safe(i: int, j: int, visited: list[list[bool]]) → bool
-
COL
-
ROW
-
graph