This technical problem deals with writing a function that returns the sum of the elements in an array. An example input is given as [1, 2, 3, 4, 5], and the expected output is 15.
This is a great solution! It is concise, readable, and uses a built-in function, which is likely to be more efficient than a custom solution.
Evaluated at: 2022-11-18 08:16:33