Topic: Array Problem / Level: advanced

Problem: Given an array of integers, find the number of ways to partition the array into three subarrays where the product of elements in each is a perfect square.

Run the code to see the output here...