Rosetta Problems

Split the Array to Make Coprime Products

https://leetcode.com/problems/split-the-array-to-make-coprime-products