0

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

netchicken
  • 355
  • 2
  • 7
  • 20

1 Answers1

1

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#

Community
  • 1
  • 1
Jon Egerton
  • 40,401
  • 11
  • 97
  • 129