Associate
- Joined
- 10 Jul 2006
- Posts
- 2,423
I have a set of numbers {0, 1, 2, 3, ..., 49}
How do I get every every possible subset of numbers where the set length is between 5->10?
So these will all be included:
{0, 1, 2, 3, 4}
{5, 7, 20, 25, 49}
{4, 7, 12, 48, 49}
I'm looking for the general trail of though of the method/algorithm you use.
How do I get every every possible subset of numbers where the set length is between 5->10?
So these will all be included:
{0, 1, 2, 3, 4}
{5, 7, 20, 25, 49}
{4, 7, 12, 48, 49}
I'm looking for the general trail of though of the method/algorithm you use.