Skip to content

Commit

Permalink
update 934 java
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Dec 29, 2024
1 parent 9cdedcb commit 31160e6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ public int shortestBridge_1_2(int[][] grid) {

// bfsQueue for BFS on land cells of island A; secondBfsQueue for BFS on water
// cells.
/**
* NOTE !!!
*
* -> bfsQueue for BFS on land cells of island A
*
* -> secondBfsQueue for BFS on water cell
*/
List<int[]> bfsQueue = new ArrayList<>();
List<int[]> secondBfsQueue = new ArrayList<>();
bfsQueue.add(new int[] { firstX, firstY });
Expand Down

0 comments on commit 31160e6

Please sign in to comment.