We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a1a8a commit 13c190dCopy full SHA for 13c190d
go/Hash Maps and Sets/pair_sum_unsorted.go
@@ -7,5 +7,5 @@ func pairSumUnsorted(nums []int, target int) []int {
7
}
8
hashmap[x] = i
9
10
- return nil
+ return []int{}
11
0 commit comments