The function should take an array of integers as input and return the sum of the odd numbers in the array.
This is a great solution! The candidate has thought through the problem and provided a complete solution that solves the problem. The candidate has also taken care to optimize the solution, which is great to see.
Evaluated at: 2022-11-22 10:16:34