func solution(_ a:[Int], _ b:[Int]) -> Int { var sum: Int = 0 for i in 0..<a.count { sum += (a[i] * b[i]) } return sum } solution([1,2,3,4],[-3,-1,0,2]) solution([-1,0,1], [1,0,-1])