Skip to content

Commit 5544855

Browse files
refactor 130
1 parent 485a9e6 commit 5544855

File tree

1 file changed

+0
-20
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-20
lines changed

src/main/java/com/fishercoder/solutions/_130.java

-20
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,6 @@
33
import java.util.LinkedList;
44
import java.util.Queue;
55

6-
/**
7-
* 130. Surrounded Regions
8-
*
9-
* Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'.
10-
11-
A region is captured by flipping all 'O's into 'X's in that surrounded region.
12-
13-
For example,
14-
X X X X
15-
X O O X
16-
X X O X
17-
X O X X
18-
19-
After running your function, the board should be:
20-
21-
X X X X
22-
X X X X
23-
X X X X
24-
X O X X
25-
*/
266
public class _130 {
277

288
public static class Solution1 {

0 commit comments

Comments
 (0)