| about | help | code help+videos | done | prefs |
Given an ArrayList of Integers, return the index of the first element whose value is divisible by 3. Return -1 if no elements of the list are divisible by 3. apcsaListFindDiv3([2, 3, 4]) → 1 apcsaListFindDiv3([2, 4]) → -1 apcsaListFindDiv3([6, 1, 6]) → 0 ...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: 220
Copyright Nick Parlante 2017 - privacy