leetcode130专题

LeetCode130:被包围的区域

https://leetcode.com/problems/surrounded-regions/ 问题描述 Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into

leetcode130. Surrounded Regions

题意: 130. Surrounded Regions Medium Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrou