Question: Write the following scheme function in racket language: getDeepOddCount - takes a list of integers, possibly including nested lists, and returns the total number of
Write the following scheme function in racket language:
getDeepOddCount - takes a list of integers, possibly including nested lists, and returns the total number of odd integers in the entire nested list. For example, (getDeepOddCount '(2 3 (4 (7 6) 5))) should return 3. You will find it useful to use the "pair?" function to implement an atom? function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
