about | help | code help+videos | done | prefs |
Given two arrays nums1 and nums2 return a new array containing all the elements of both. The elements of nums1 should be in the first part of the new array and nums2 elements should be in the second part. combineArrays([1, 2], [1, 1]) → [1, 2, 1, 1] combineArrays([1, 2], [1]) → [1, 2, 1] combineArrays([1], [1, 1]) → [1, 1, 1] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy