Skip to content

Commit 956c6dd

Browse files
committed
Update 3sum.go
1 parent bf17bcd commit 956c6dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

3sum.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
//https://leetcode.com/problems/3sum/
2+
13
package leetcode_solutions_golang
24

35
import (
46
"fmt"
57
"sort"
68
)
79

8-
//https://leetcode.com/problems/3sum/
910
func threeSum(nums []int) [][]int {
1011
sort.Slice(nums, func(i, j int) bool {
1112
return nums[i] < nums[j]

0 commit comments

Comments
 (0)