Search⌘ K

Challenge: Sum Array

Explore how to write a method in Go that sums all integer elements of an input array. This lesson helps you practice array traversal and reinforcement of fundamental coding skills.

Problem

Given an array as an input argument, write a method that will return the sum of all the ...