These aren't just combinations (where order doesn't matter) but permutations of your input set, for lengths 1 to length of input set.
yeah, it's cool. I ended up having the permutations call inside a loop from 1 to the input length (like you said).
The results get scarily big very quickly!
It was actually a problem I needed to solve too, but had put to one side, so thanks for nudge!
@dt started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
These aren't just combinations (where order doesn't matter) but permutations of your input set, for lengths 1 to length of input set.