Problem 3162 · Easy

Find the Number of Good Pairs I

Count pairs where nums1[i] is divisible by nums2[j] * k.

Open the interactive visualisation