0
For example, if we have 120, the answer should contain (2,2,2,3,5),(2,60),(4,30),...
Here is my not-so-good attempt
for (int[] x : getPossibleProducts(120)) {
System.out.println(Arrays.toString(x));
}
public static List<String> getPossibleProducts2(int n) {
List<String> possprod = new...