1function merge(nums1, nums2) {2 // Your code here3}
Solve the problem first before reviewing the solution!