about | help | code help+videos | done | prefs |
apcsaRecurAnyOdd
Given an ArrayList of integers, determine recursively if any of the integers are odd. HINT: How did Martin do this with the Alchemist? It's OK to mutate the ArrayList...apcsaRecurAnyOdd([0, 1]) → true apcsaRecurAnyOdd([0, 2, 3, 4]) → true apcsaRecurAnyOdd([0, 2, 4]) → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 350
Copyright Nick Parlante 2017 - privacy