about | help | code help+videos | done | prefs |
apcsaListRemoveFirstMatch
Given an ArrayList of three Integers, determine if two or more of the elements match. If so, remove the first instance of the matching elements. Return the modified ArrayList, which should now have two elements (the first matching element having been removed). apcsaListRemoveFirstMatch([0, 3, 0]) → [3, 0] apcsaListRemoveFirstMatch([4, 4, 2]) → [4, 2] apcsaListRemoveFirstMatch([3, 4, 5]) → [3, 4, 5] ...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: 120
Copyright Nick Parlante 2017 - privacy