Given two integer arrays nums1 and nums2 of equal length, find the minimum index sum nums1[i] == nums2[j].
Return the minimum index sum among all common elements. If there are no common elements between nums1 and nums2, return
Constraints:
nums1.length nums2.length
nums1[i], nums2[i]
Given two integer arrays nums1 and nums2 of equal length, find the minimum index sum nums1[i] == nums2[j].
Return the minimum index sum among all common elements. If there are no common elements between nums1 and nums2, return
Constraints:
nums1.length nums2.length
nums1[i], nums2[i]