Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region i…
分类:LeetCode
LeetCode | Clone Graph(克隆图)
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.…
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region i…
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.…