Skip to content

Instantly share code, notes, and snippets.

@levinotik
Created February 15, 2012 04:22
Show Gist options
  • Save levinotik/1833175 to your computer and use it in GitHub Desktop.
Save levinotik/1833175 to your computer and use it in GitHub Desktop.
int sum(List<Integer> nums) {
int sum = 0;
for(Integer i: sums) {
sum+=i
}
return sum;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment