Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 61f2474

Browse files
committedJul 3, 2020
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)
Please sign in to comment.