about | help | code help+videos | done | prefs |
Wack-A-Zero -- You will be given an array of integers and you will be asked to remove all ZEROs and return an array of integers without zeros (and smaller) Example [0,0,0,0,1] -> [1] -- If the array does not contain any numbers - then return a empty array. wack_A_Zero([]) → [] wack_A_Zero([0, 0, 0, 0, 1]) → [1] wack_A_Zero([0, 0, 0, 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
Difficulty: 180
Copyright Nick Parlante 2017 - privacy