Topic: Array Problem / Level: advanced

Problem: Find the number of distinct subarrays where the sum of elements is a prime number and their product is less than a given threshold.

Run the code to see the output here...