Julia Programming Language
Cleanest way to generate all combinations of n arrays
General Usage
bennedich
January 26, 2019, 3:30pm
6
N = 3 lpad.(string.(0:N^N-1;base=N),N,'0').|>s->Int.(collect(s).-48)
Not the most efficient
show post in topic