We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f6fa20 commit fed2eecCopy full SHA for fed2eec
C++/number-of-distinct-islands.cpp
@@ -32,7 +32,7 @@ class Solution {
32
(*grid)[i][j] *= -1;
33
for (const auto& kvp : directions) {
34
island->push_back(kvp.first);
35
- dfs(i + kvp.second.first, j +kvp.second.second, grid, island);
+ dfs(i + kvp.second.first, j + kvp.second.second, grid, island);
36
}
37
return true;
38
0 commit comments