Skip to content

Commit 61f2474

Browse files
refaactor 1
1 parent 2e94324 commit 61f2474

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

cpp/_1.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/**
2-
1. Two Sum
3-
4-
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
5-
6-
You may assume that each input would have exactly one solution, and you may not use the same element twice.
7-
8-
Example:
9-
10-
Given nums = [2, 7, 11, 15], target = 9,
11-
12-
Because nums[0] + nums[1] = 2 + 7 = 9,
13-
return [0, 1].
14-
15-
*/
16-
171
#include <vector>
182
#include <unordered_map>
193
using namespace std;

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