0
/ 10
Given an array of integers numbers
, return a new array with just the values in numbers
that are odd. The new array should just be of the...
Given an array of integers numbers
, return a new array with just the values in numbers
that are odd. The new array should just be of the exact size needed.
Examples:
oddValues({0,1,2,5}) -> {1,5}
oddValues({10,2,4}) -> {}
Your feedback will appear here when you check your answer.