Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6445bf9

Browse files
add comments
1 parent42e5a34 commit6445bf9

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

‎src/main/java/com/fishercoder/solutions/_417.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ void dfs(int[][] matrix, boolean[][] visited, int height, int x, int y) {
6161
}
6262

6363
publicstaticclassSolution2 {
64+
/**This is my original solution on 3/25/2021, although brute force, it works.*/
6465
publicList<List<Integer>>pacificAtlantic(int[][]matrix) {
6566
List<List<Integer>>result =newArrayList<>();
6667
if (matrix ==null ||matrix.length ==0 ||matrix[0].length ==0) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp