The product sum of two integer arrays nums1 and nums2 of equal length n is defined as the sum of nums1[i] $ imes$ nums2[i] for all i n.
Given two integer arrays nums1 and nums2 of length n, return the minimum product sum achievable after permuting the elements of nums1.
Constraints:
n nums1.length nums2.length
n
nums1[i], nums2[i]
The product sum of two integer arrays nums1 and nums2 of equal length n is defined as the sum of nums1[i] $ imes$ nums2[i] for all i n.
Given two integer arrays nums1 and nums2 of length n, return the minimum product sum achievable after permuting the elements of nums1.
Constraints:
n nums1.length nums2.length
n
nums1[i], nums2[i]