Kotlinlearncs.online LogoJava
Return to List

Solve: Count Odd

Created By: Chris Taylor
/ Version: 2023.7.0

Complete the following recursive method that returns a count of how many integers in the list are odd.

int countOdd(List<Integer> nums) {
return 0; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: