Does anyone have any tips on creating an efficient set algorithm?
I have the following set {a, b, c, d, e}.
I need to combine them in all possible ways:
a
ab
ac
ad
ae
abc
b
bc
bd
be
....
ace
....
Get the picture?
Thanks for any help. Note, the combinations need to be unique. For
instance, I don't need "ab" in addition to "ba".
Thanks for any help,
AstroDrabb
I have the following set {a, b, c, d, e}.
I need to combine them in all possible ways:
a
ab
ac
ad
ae
abc
b
bc
bd
be
....
ace
....
Get the picture?
Thanks for any help. Note, the combinations need to be unique. For
instance, I don't need "ab" in addition to "ba".
Thanks for any help,
AstroDrabb
Comment