There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Roy Johnson,
I think you just want to ensure that each element is greater-than-or-equal-to the previous one, so: That's exactly one the shortcuts I used in Challenge: Number of unique ways to reach target sum. I am going to update Arbitrarily Nested Loops to mention NestedLoops and the Odometer Model fwiw. Everytime I refer to someone to one of them, I have to look up the other. Cheers - L~R In reply to Re^2: Efficient Unique Nested Combinations
by Limbic~Region
|
|