Return the total of every number in the list. An empty list totals zero.
int sum(java.util.ArrayList<Integer> list)
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.