Reputation: 485
In a program used to find words from random scrabble letters how do you loop through each of the possible combinations of letters? ie: abc acb bac bca cab cba
Upvotes: 0
Views: 654
Reputation: 41569
What you're trying to do here is permute the set of characters contained within the string.
There's a question here about it:
Find string permutation including the single character using C# or F#
Upvotes: 1