Form Smallest Number From Two Digit Arrays
Given two arrays of unique digits nums1 and nums2, return thesmallestnumber that containsat leastone digit from each array.
LeetCode Problem - 2605
class Solution {
public int minNumber(int[] nums1, int[] nums2) {
// Sort both arrays to ...
perfinsights.hashnode.dev1 min read