about | help | code help+videos | done | prefs |
removeAllTargetV2
Given an ArrayList of Double, and a target Double, modify the ArrayList of Double so that has all of the target Double is removed. Use remove on the original list, then return it. Do not make a new ArrayList here. removeAllTargetV2([5.0], 0.0) → [5.0] removeAllTargetV2([5.0], 5.0) → [] removeAllTargetV2([], 0.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
Copyright Nick Parlante 2017 - privacy