Topic: Two Pointer Problem / Level: intermediate

Problem: Given an array, find all pairs whose product is divisible by a prime number using two pointers.

Run the code to see the output here...