Simple Array Sum Hackerrank Solution CODE: Given an array of integers, find the sum of its elements. For example, if the array , , so return . Function Description Complete the s…