about | help | code help+videos | done | prefs |
addArrays() -- given two int arrays, return an int array that is the sum of the corresponding elements of the two arrays. You may assume the two arrays have the same number of elements. addArrays([1, 1, 1], [10, 20, 30]) → [11, 21, 31] addArrays([2], [4]) → [6] addArrays([-1, -2, -3], [1, 2, 3]) → [0, 0, 0] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 250 Post-solution available
Copyright Nick Parlante 2017 - privacy