Skip to main content
deborahb44958436
Inspiring
August 27, 2015
Question

Loop 8 characters

  • August 27, 2015
  • 1 reply
  • 545 views

How could I loop through all possible rearrangement combinations of these 8 characters? LLLMMRRR

I need it to be output with trace command and numbered if possible.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 27, 2015

is each L a different character?  ie, if you only had LLL would there be one or 6 displays?

deborahb44958436
Inspiring
August 27, 2015

I have 3 L's 2 M's and 3 R's in one arrangement like the one you see above.  I want them to be rearranged in deferent order and I need to see all possible combination in the output through trace command.

kglad
Community Expert
Community Expert
August 27, 2015

again, are different combinations that look the same, different?  if so, you'll see LLLMMRRR listed 72 times.