func isArraySpecial(nums []int) bool { for i:=0; i<len(nums)-1; i++ { f, s := nums[i]%2, nums[i+1]%2 if f == s { return false } } return true }