Search posts...
class Solution { public int solution(int[] a, int[] b) { long temp = 0; for(int i = 0 ; i < a.length; i++) { temp += a[i] * b[i]; } int answer = (int)temp; return answer; } }