Exercise 6: Combine elements of an array
Make a new array out of existing one by combining certain elements of the array.
Problem Statement
Make a new array out of the this array:
array = [1, 2, 3,
...Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy