Given an integer array nums and an integer k, return the number of pairs (i, j) such that i j nums.length and the product nums[i] $ imes$ nums[j] is divisible by k.
Constraints:
nums.length
nums[i], k
Given an integer array nums and an integer k, return the number of pairs (i, j) such that i j nums.length and the product nums[i] $ imes$ nums[j] is divisible by k.
Constraints:
nums.length
nums[i], k