(arr []uint64, search uint64)
| 45 | } |
| 46 | |
| 47 | func ArrayContainValue(arr []uint64, search uint64) bool { |
| 48 | for _, v := range arr { |
| 49 | if v == search { |
| 50 | return true |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | return false |
| 55 | } |
| 56 | |
| 57 | func Intersect(slice1 []uint64, slice2 []uint64) []uint64 { |
| 58 | m := make(map[uint64]uint64) |
no outgoing calls
no test coverage detected