Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fd0af71

Browse files
author
Shuo
authored
Merge pull request #655 from openset/develop
Update: package name
2 parents e5d750a + 2e0ac91 commit fd0af71

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎problems/two-sum/two_sum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package two_sum
1+
package problem_1
22

33
func twoSum(nums []int, target int) []int {
44
m := make(map[int]int)

‎problems/two-sum/two_sum_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package two_sum
1+
package problem_1
22

33
import (
44
"reflect"
@@ -29,7 +29,6 @@ func TestTwoSum(t *testing.T) {
2929
expected: []int{1, 2},
3030
},
3131
}
32-
3332
for _, tc := range tests {
3433
output := twoSum(tc.nums, tc.target)
3534
if !reflect.DeepEqual(output, tc.expected) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /