def solution(strArr):
return [x for x in strArr if 'ad' not in x]
import "strings"
func solution(strArr []string) []string {
var result []string
for _, str := range strArr {
if !strings.Contains(str, "ad") {
result = append(result, str)
}
}
return result
}