We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 485a9e6 commit 5544855Copy full SHA for 5544855
src/main/java/com/fishercoder/solutions/_130.java
@@ -3,26 +3,6 @@
3
import java.util.LinkedList;
4
import java.util.Queue;
5
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
22
23
24
25
- */
26
public class _130 {
27
28
public static class Solution1 {
0 commit comments