|
-
Feb 16th, 2004, 11:44 PM
#1
Thread Starter
Addicted Member
algorithm for computing combinations of elements
Hi guys...Im trying to figure out an algorithm for calculating the various combinations of n elements...Iv come to the conclusion that its gotta be a recursive call inside a for loop...and thats where Im stuck...need help here
what I need
Combinat(ABC)=
ABC
ACB
BAC
BCA
CAB
CBA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|