| about | help | code help+videos | done | prefs |
apcsaListRemoveOdds
Given an ArrayList of Integer values, remove every other odd value encountered in the list, starting with the first one found. Return the modified list. apcsaListRemoveOdds([3, 2, 5, 7, 9]) → [2, 5, 9] apcsaListRemoveOdds([1, 3, 5, 7, 9]) → [3, 7] apcsaListRemoveOdds([2]) → [2] ...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: 240
Copyright Nick Parlante 2017 - privacy