Given two arrays of unique digits nums1 and nums2, return the smallest number that contains at least one digit from each array.
Constraints:
nums1.length, nums2.length
nums1[i], nums2[i]
All digits in each array are unique.
Given two arrays of unique digits nums1 and nums2, return the smallest number that contains at least one digit from each array.
Constraints:
nums1.length, nums2.length
nums1[i], nums2[i]
All digits in each array are unique.