You are given two integer arrays nums1 and nums2 of lengths n and m respectively, along with a positive integer k.
A pair (i, j) is defined as good if nums1[i] is divisible by nums2[j] * k.
Return the total number of good pairs.
Constraints:
n, m
nums1[i], nums2[j]
k
You are given two integer arrays nums1 and nums2 of lengths n and m respectively, along with a positive integer k.
A pair (i, j) is defined as good if nums1[i] is divisible by nums2[j] * k.
Return the total number of good pairs.
Constraints:
n, m
nums1[i], nums2[j]
k