func Intersect(listA, listB []string) []string {
	// prepare new list
	list := make([]string, 0, len(listA))

	// add items that are part of both lists
	for _, item := range listA {
		if Contains(listB, item) {
			list = append(list, item)
		}
	}

	return list
}
func Intersect(listA, listB []string) []string {
	
	list := make([]string, 0, len(listA))

	
	for _, item := range listA {
		if Contains(listB, item) {
			list = append(list, item)
		}
	}

	return list
}
func Intersect ( listA , listB [ ] string ) [ ] string { // prepare new list list := make ( [ ] string , 0 , len ( listA ) ) // add items that are part of both lists for _ , item := range listA { if Contains ( listB , item ) { list = append ( list , item ) } } return list }
// Intersect will return the intersection of both lists.
Intersect will return the intersection of both lists .