福到了!# pets - 心有所宠
s*1
1 楼
Surrounded Regions
Given a 2D board containing 'X' and 'O', capture all regions surrounded by '
X'.
A region is captured by flipping all 'O's into 'X's in that surrounded
region .
给点例子不看懂 谁能给讲下 多谢多谢!
Given a 2D board containing 'X' and 'O', capture all regions surrounded by '
X'.
A region is captured by flipping all 'O's into 'X's in that surrounded
region .
给点例子不看懂 谁能给讲下 多谢多谢!