about | help | code help+videos | done | prefs |
remove
Given an array, and an int index, remove the element at the given index from the array and return a new array. You can always assume the given index is a valid index in the range. remove([1], 0) → [] remove([1, 2, 3], 2) → [1, 2] remove([4, 5, -4, 9], 0) → [5, -4, 9] ...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: 210
Copyright Nick Parlante 2017 - privacy