Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func AreSlicesEqual(a, b []int) bool {
- if len(a) != len(b) {
- return false
- }
- for _, i := range a {
- if !DoesSliceIncludesInt(i, b) {
- return false
- }
- }
- return true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement