about | help | code help+videos | done | prefs |
remove5s
Given an ArrayList of Integers, return the ArrayList after removing all elements with a value of 5. remove5s([1, 2, 3, 4, 5]) → [1, 2, 3, 4] remove5s([5, 2, 5, 4, 5, 12, 45]) → [2, 4, 12, 45] remove5s([1, 2, 3, 5, 5]) → [1, 2, 3] ...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: 176
Copyright Nick Parlante 2017 - privacy