One for the programmers:
Does anyone know how to get all possible combinations of a list of strings?
Eg. if i have ["one", "two", "three"]
I would like:
"one"
"two"
"three"
"one, two"
"one, three"
"two, one"
"two, three"
"three, one"
"three, two"
"one, two, three"
"one, three, two"
"two, one, three"
"two, three, one"
"three, one, two"
"three, two, one"
One for the programmers:
Does anyone know how to get all possible combinations of a list of strings?
Eg. if i have ["one", "two", "three"]
I would like:
"one"
"two"
"three"
"one, two"
"one, three"
"two, one"
"two, three"
"three, one"
"three, two"
"one, two, three"
"one, three, two"
"two, one, three"
"two, three, one"
"three, one, two"
"three, two, one"