Back to problems

General Coding Interview

Algorithm · OpenAI · Easy

Write a function that returns the total of all integers in a supplied array. You may assume that every integer in the array is unique. Example (as reported) Example The result is 20 because 2 + 4 + 6 + 8 equals 20.

Loading the rest of the question…