Skip to content

Commit 44b2ef2

Browse files
refactor 1
1 parent 5622cd0 commit 44b2ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/_1.cpp

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy