| about | help | code help+videos | done | prefs |
occurArrayList() -- You are given an integer and an ArrayList of integers, and want to determine how many times that integer occurs in the ArrayList. Your method should return that count. occurArrayList(9, [9]) → 1 occurArrayList(8, [9]) → 0 occurArrayList(1, [1, 2, 3, 2, 4, 2, 5]) → 1 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy