Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ main
Function
main
tasks/350.go:7–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
)
6
7
func
main() {
8
arr1 := []int{4, 9, 5}
9
arr2 := []int{9, 4, 9, 8, 4}
10
fmt.Print(intersect(arr1, arr2))
11
}
12
13
func
intersect(nums1 []int, nums2 []int) []int {
14
var
ret []int
Callers
nothing calls this directly
Calls
2
intersect
Function · 0.85
Print
Method · 0.80
Tested by
no test coverage detected