Array
2918. Minimum Equal Sum of Two Arrays After Replacing Zeros
Given two arrays nums1 and nums2 in which zeros must be replaced by strictly positive integers. Find the minimum equal sum achievable for both arrays after replacement; −1 if impossible. The minimum…
Loading…