about | help | code help+videos | done | prefs |
Define a function that when passed a 2-dimensional ArrayList, returns the sum of all positive items of the list. sumPositives2D([[10, 70], [20, 90]]) → 190 sumPositives2D([[-10, 70, 20], [-90]]) → 90 sumPositives2D([[10, 70, 20, 90]]) → 190 ...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: 3 Post-solution available
Copyright Nick Parlante 2017 - privacy