Click here to Skip to main content
15,890,123 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Skip List Indexing Pin
Leslie Sanford12-Apr-07 10:44
Leslie Sanford12-Apr-07 10:44 
QuestionThe Perfect Circle Pin
Bassam Abdul-Baki10-Apr-07 4:15
professionalBassam Abdul-Baki10-Apr-07 4:15 
AnswerRe: The Perfect Circle Pin
Paddy Boyd12-Apr-07 2:57
Paddy Boyd12-Apr-07 2:57 
QuestionLp,BP,HP filters design in C# Pin
Keleistein9-Apr-07 20:44
Keleistein9-Apr-07 20:44 
AnswerRe: Lp,BP,HP filters design in C# Pin
Roger Wright10-Apr-07 8:21
professionalRoger Wright10-Apr-07 8:21 
GeneralRe: Lp,BP,HP filters design in C# Pin
cp987611-Apr-07 1:46
cp987611-Apr-07 1:46 
Questionsome probability problem ? Pin
codeprojecter_8-Apr-07 23:56
codeprojecter_8-Apr-07 23:56 
AnswerRe: some probability problem ? Pin
cp98769-Apr-07 2:34
cp98769-Apr-07 2:34 
What's this - an easter craze on knapsack problems?

This looks like homework, in which case I guess the number of integers in the set is modest (<= say 16), in which case you can simply search all combinations and find the best.

For other comments and a more general solution see this thread: link[^]


Peter

"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

Questionconvert arrays of number to an integer Pin
Khodadad Pakdamans8-Apr-07 22:17
Khodadad Pakdamans8-Apr-07 22:17 
AnswerRe: convert arrays of number to an integer Pin
Luc Pattyn8-Apr-07 23:38
sitebuilderLuc Pattyn8-Apr-07 23:38 
GeneralRe: convert arrays of number to an integer Pin
cp98769-Apr-07 19:26
cp98769-Apr-07 19:26 
Questionan interesting program,please help Pin
Khodadad Pakdamans8-Apr-07 20:10
Khodadad Pakdamans8-Apr-07 20:10 
AnswerRe: an interesting program,please help Pin
cp98768-Apr-07 20:34
cp98768-Apr-07 20:34 
GeneralRe: an interesting program,please help Pin
Khodadad Pakdamans8-Apr-07 22:12
Khodadad Pakdamans8-Apr-07 22:12 
GeneralRe: an interesting program,please help Pin
DQNOK14-Apr-07 12:04
professionalDQNOK14-Apr-07 12:04 
QuestionQuadratic Rule Urgent Help needed Pin
pHysiX8-Apr-07 0:50
pHysiX8-Apr-07 0:50 
AnswerRe: Quadratic Rule Urgent Help needed Pin
cp98768-Apr-07 18:17
cp98768-Apr-07 18:17 
GeneralRe: Quadratic Rule Urgent Help needed Pin
pHysiX10-Apr-07 13:55
pHysiX10-Apr-07 13:55 
GeneralRe: Quadratic Rule Urgent Help needed Pin
BillW3324-May-07 8:01
professionalBillW3324-May-07 8:01 
QuestionFind Closest Sum of Numbers to a Given Number Pin
samv984-Apr-07 7:55
samv984-Apr-07 7:55 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn4-Apr-07 10:39
sitebuilderLuc Pattyn4-Apr-07 10:39 
QuestionRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow4-Apr-07 10:54
David Crow4-Apr-07 10:54 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Bassam Abdul-Baki5-Apr-07 3:25
professionalBassam Abdul-Baki5-Apr-07 3:25 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
samv985-Apr-07 11:48
samv985-Apr-07 11:48 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn5-Apr-07 12:31
sitebuilderLuc Pattyn5-Apr-07 12:31 

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.