Given an array of integers, write a function that returns the sum of all the odd numbers in the array.
This is a great solution! It is very efficient because it only iterates through the array once and only adds the odd numbers to the sum.
Evaluated at: 2022-11-22 00:15:50