Skip to content

Commit 31160e6

Browse files
committed
update 934 java
1 parent 9cdedcb commit 31160e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

leetcode_java/src/main/java/LeetCodeJava/BFS/ShortestBridge.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ public int shortestBridge_1_2(int[][] grid) {
132132

133133
// bfsQueue for BFS on land cells of island A; secondBfsQueue for BFS on water
134134
// cells.
135+
/**
136+
* NOTE !!!
137+
*
138+
* -> bfsQueue for BFS on land cells of island A
139+
*
140+
* -> secondBfsQueue for BFS on water cell
141+
*/
135142
List<int[]> bfsQueue = new ArrayList<>();
136143
List<int[]> secondBfsQueue = new ArrayList<>();
137144
bfsQueue.add(new int[] { firstX, firstY });

0 commit comments

Comments
 (0)