Topic: Array Problem / Level: advanced

Problem: Find the number of ways to partition an array into two subarrays where the product of elements in each is a perfect square.

Run the code to see the output here...