Skip to content

Commit 9e58596

Browse files
refactor 1
1 parent 4efc5b2 commit 9e58596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/_1.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Solution {
2323
if (m.find(nums[i]) == m.end() ) {
2424
// store the first one poisition into the second one's key
2525
m[target - nums[i]] = i;
26-
}else {
26+
} else {
2727
// found the second one
2828
result.push_back(m[nums[i]]);
2929
result.push_back(i);

0 commit comments

Comments
 (0)