Topic: Array Problem / Level: intermediate

Problem: Check if an array can be rearranged such that the product of the elements in the first half is equal to the product of the elements in the second half.

Run the code to see the output here...