about | help | code help+videos | done | prefs |
addTo() -- given an int and an int array, return the int array whose elements are the sum of the int and that element. addTo(1, [1, 2, 3]) → [2, 3, 4] addTo(1, [-1, -2, -3]) → [0, -1, -2] addTo(2, [0, 0, 0, 0]) → [2, 2, 2, 2] ...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: 210
Copyright Nick Parlante 2017 - privacy