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

Diff for: cpp/_1.cpp

-16
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)