Click here to Skip to main content
15,917,565 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Which algorithm fits best ? Pin
kkadir25-Sep-07 3:36
kkadir25-Sep-07 3:36 
AnswerRe: Which algorithm fits best ? Pin
Russell'26-Sep-07 0:04
Russell'26-Sep-07 0:04 
GeneralRe: Which algorithm fits best ? Pin
kkadir26-Sep-07 11:06
kkadir26-Sep-07 11:06 
GeneralRe: Which algorithm fits best ? Pin
Russell'26-Sep-07 22:07
Russell'26-Sep-07 22:07 
GeneralRe: Which algorithm fits best ? Pin
mulletcheese28-Sep-07 6:02
mulletcheese28-Sep-07 6:02 
QuestionCode for Travelling Salesman Problem Pin
laremtj24-Sep-07 8:56
laremtj24-Sep-07 8:56 
AnswerRe: Code for Travelling Salesman Problem Pin
Paul Conrad24-Sep-07 13:18
professionalPaul Conrad24-Sep-07 13:18 
Questionall combinations from a set of numbers Pin
Tom Deketelaere24-Sep-07 4:26
professionalTom Deketelaere24-Sep-07 4:26 
I'm not sure this is the rigth place to post this question but it sounds like a math problem to me so...

Problem:
I need all the combinations of a set of numbers (to make it easy lets take 3 numbers, but eventualy it has to work for 15numbers and more)

the user will give in 3 number for example: 1 , 5 , 19

then the programme needs to give the following combinations:

1, 5, 19
1, 19, 5
5, 1, 19
5, 19, 1
19, 1, 5
19, 5, 1

I've been searching for some algoritme our other way to do this for several weeks now and just can't find it

any ideas on how I could achieve this??

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistaks.

AnswerRe: all combinations from a set of numbers Pin
Luc Pattyn24-Sep-07 6:27
sitebuilderLuc Pattyn24-Sep-07 6:27 
GeneralRe: all combinations from a set of numbers Pin
Hoss Fly24-Sep-07 15:34
Hoss Fly24-Sep-07 15:34 
GeneralRe: all combinations from a set of numbers Pin
cp987624-Sep-07 15:57
cp987624-Sep-07 15:57 
GeneralRe: all combinations from a set of numbers Pin
Hoss Fly24-Sep-07 16:37
Hoss Fly24-Sep-07 16:37 
GeneralRe: all combinations from a set of numbers Pin
Stephen Hewitt24-Sep-07 20:33
Stephen Hewitt24-Sep-07 20:33 
GeneralRe: all combinations from a set of numbers Pin
Luc Pattyn25-Sep-07 0:52
sitebuilderLuc Pattyn25-Sep-07 0:52 
AnswerRe: all combinations from a set of numbers Pin
kkadir24-Sep-07 10:27
kkadir24-Sep-07 10:27 
AnswerRe: all combinations from a set of numbers Pin
PIEBALDconsult24-Sep-07 17:14
mvePIEBALDconsult24-Sep-07 17:14 
AnswerRe: all combinations from a set of numbers Pin
Stephen Hewitt24-Sep-07 20:40
Stephen Hewitt24-Sep-07 20:40 
GeneralRe: all combinations from a set of numbers Pin
Stephen Hewitt25-Sep-07 22:23
Stephen Hewitt25-Sep-07 22:23 
AnswerRe: all combinations from a set of numbers [modified] Pin
Avi Farah5-Oct-07 9:29
Avi Farah5-Oct-07 9:29 
QuestionAssigning tasks problem Pin
Wjousts21-Sep-07 7:25
Wjousts21-Sep-07 7:25 
AnswerRe: Assigning tasks problem Pin
Shog921-Sep-07 8:17
sitebuilderShog921-Sep-07 8:17 
GeneralRe: Assigning tasks problem Pin
Wjousts21-Sep-07 8:22
Wjousts21-Sep-07 8:22 
QuestionNesting and Optimization Logic Process Pin
ruready51120-Sep-07 15:15
ruready51120-Sep-07 15:15 
AnswerRe: Nesting and Optimization Logic Process Pin
Hoss Fly20-Sep-07 20:30
Hoss Fly20-Sep-07 20:30 
GeneralRe: Nesting and Optimization Logic Process Pin
ruready51121-Sep-07 3:54
ruready51121-Sep-07 3:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.