H
Handy Gandy
I have an array of N arrays A_i: [A_1,A_2,...,A_N].
I want to iterate over the cartesian product A_1xA_2...xA_N.
Is there a simple way of doing this without specifying N?
I want to iterate over the cartesian product A_1xA_2...xA_N.
Is there a simple way of doing this without specifying N?