Merge Sorted Array

You are given two non-decreasing integer arrays and two counts m and n. The first m values of nums1 are valid, and nums1 has total length m + n. Return a new array that contains the m values from nums1 and the n values from nums2 in sorted order.

Examples
Input: [[1,2,3,0,0,0],3,[2,5,6],3]
Output:
Hints

Merge Sorted Array

You are given two non-decreasing integer arrays and two counts m and n. The first m values of nums1 are valid, and nums1 has total length m + n. Return a new array that contains the m values from nums1 and the n values from nums2 in sorted order.