Split the Array to Make Coprime Products - DSA Problem | Talentd