MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / dfs

Method dfs

src/main/java/L0200_NumberOfIslands.java:65–82  ·  view source on GitHub ↗

深度优先搜索,将相连的陆地标记为已访问(改为 '0')

(char[][] grid, int i, int j)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

numIslandsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected