Skip to content

Commit fed2eec

Browse files
authoredOct 9, 2017
Update number-of-distinct-islands.cpp
1 parent 6f6fa20 commit fed2eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎C++/number-of-distinct-islands.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Solution {
3232
(*grid)[i][j] *= -1;
3333
for (const auto& kvp : directions) {
3434
island->push_back(kvp.first);
35-
dfs(i + kvp.second.first, j +kvp.second.second, grid, island);
35+
dfs(i + kvp.second.first, j + kvp.second.second, grid, island);
3636
}
3737
return true;
3838
}

0 commit comments

Comments
 (0)
Please sign in to comment.