Given four integer arrays nums1, nums2, nums3, and nums4, each of length n, return the total number of tuples (i, j, k, l) such that i, j, k, l
nums1[i] nums2[j] nums3[k] nums4[l]
Constraints:
n == nums1.length
n == nums2.length
n == nums3.length
n == nums4.length
n
nums1[i], nums2[i], nums3[i], nums4[i]
Given four integer arrays nums1, nums2, nums3, and nums4, each of length n, return the total number of tuples (i, j, k, l) such that i, j, k, l
nums1[i] nums2[j] nums3[k] nums4[l]
Constraints:
n == nums1.length
n == nums2.length
n == nums3.length
n == nums4.length
n
nums1[i], nums2[i], nums3[i], nums4[i]