Grainger interview question

Given an array of integers, sum the array.