Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ea056c6

Browse files
committed
Add solution #1
1 parent 0580702 commit ea056c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

0001-two-sum.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
* https://leetcode.com/problems/two-sum/
44
* Difficulty: Easy
55
*
6-
* Given an array of integers `nums` and an integer `target`, return indices of the two numbers such that they add up to `target`.
6+
* Given an array of integers `nums` and an integer `target`, return indices
7+
* of the two numbers such that they add up to `target`.
78
*
8-
* You may assume that each input would have exactly one solution, and you may not use the same element twice.
9+
* You may assume that each input would have exactly one solution, and you
10+
* may not use the same element twice.
911
*
1012
* You can return the answer in any order.
1113
*/

0 commit comments

Comments
 (0)