For example, is there a function that can order the letters ABCD in 4! ways and output their different arrangements. If not, what is an efficient way to code such a function?
Asked
Active
Viewed 19 times
0
-
Easiest way to code something like this is to use recursion. – Phylogenesis Jan 09 '20 at 12:46
-
Could you show me how to that, with a small case like 3! – isletoflangherhans Jan 09 '20 at 13:11