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

Algorithms

 
AnswerRe: which mathematical subjects I need to know for learning algorithms Pin
Mark.io5-May-16 2:11
Mark.io5-May-16 2:11 
AnswerRe: which mathematical subjects I need to know for learning algorithms Pin
Alan Balkany9-May-16 4:50
Alan Balkany9-May-16 4:50 
QuestionAlgorithm for Tournament tree Pin
Member 122971796-Apr-16 6:38
Member 122971796-Apr-16 6:38 
AnswerRe: Algorithm for Tournament tree Pin
Richard Deeming6-Apr-16 7:23
mveRichard Deeming6-Apr-16 7:23 
AnswerRe: Algorithm for Tournament tree Pin
Matt T Heffron6-Apr-16 9:40
professionalMatt T Heffron6-Apr-16 9:40 
AnswerRe: Algorithm for Tournament tree Pin
Alan Balkany9-May-16 4:56
Alan Balkany9-May-16 4:56 
GeneralRe: Algorithm for Tournament tree Pin
Alan Balkany9-May-16 6:22
Alan Balkany9-May-16 6:22 
QuestionAdding values from set to have certain value Pin
Member 124402526-Apr-16 1:57
Member 124402526-Apr-16 1:57 
Hi,

The problem at first seems to be simple but it is not, al least form me...
Have array/set/group of numbers,
for example:
(3,2,7,1,9,5,5,2,8,6,3,1)
I need to make groups of these numbers, so that each group has element(s) that sum is euqal or max close to certain value, for example 10. Of course I understand that there are lots of solutions, but I need only one.
So, for this set I should get:
A - 2,7,1 -> 10
B - 9,1 -> 10
C - 2,8 -> 10
D - 5,5 -> 10
E - 6,3 -> 9
F - 3 -> 3
of course this is one of possible solution, but I don't need super optimalization for this algorithm.

If anyone has some idea how to approach to this problem I would be very grateful for help.
AnswerRe: Adding values from set to have certain value Pin
Sascha Lefèvre6-Apr-16 3:05
professionalSascha Lefèvre6-Apr-16 3:05 
AnswerRe: Adding values from set to have certain value Pin
Eddy Vluggen6-Apr-16 3:38
professionalEddy Vluggen6-Apr-16 3:38 
AnswerRe: Adding values from set to have certain value Pin
Matt T Heffron6-Apr-16 9:42
professionalMatt T Heffron6-Apr-16 9:42 
QuestionMathematics Articles Pin
Matthew C Schmidt5-Apr-16 14:41
professionalMatthew C Schmidt5-Apr-16 14:41 
AnswerRe: Mathematics Articles Pin
Kenneth Haugland5-Apr-16 15:23
mvaKenneth Haugland5-Apr-16 15:23 
QuestionSet of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Member 122519461-Apr-16 2:23
Member 122519461-Apr-16 2:23 
AnswerRe: Set of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Sascha Lefèvre1-Apr-16 2:36
professionalSascha Lefèvre1-Apr-16 2:36 
AnswerRe: Set of objects with 2 properties divided in 2 subsets that are very balanced about their properties? Pin
Gerry Schmitz1-Apr-16 6:34
mveGerry Schmitz1-Apr-16 6:34 
QuestionDesign Secrete key generation program or Algorithm Pin
Durga Prasad Chauhan25-Mar-16 23:38
Durga Prasad Chauhan25-Mar-16 23:38 
AnswerRe: Design Secrete key generation program or Algorithm Pin
Sascha Lefèvre26-Mar-16 1:02
professionalSascha Lefèvre26-Mar-16 1:02 
Questionalgorithm Pin
jeanBrooklyn22-Mar-16 6:07
professionaljeanBrooklyn22-Mar-16 6:07 
AnswerRe: algorithm Pin
Richard MacCutchan22-Mar-16 7:17
mveRichard MacCutchan22-Mar-16 7:17 
AnswerRe: algorithm Pin
Matt T Heffron22-Mar-16 10:34
professionalMatt T Heffron22-Mar-16 10:34 
AnswerRe: algorithm Pin
Afzaal Ahmad Zeeshan23-Mar-16 10:28
professionalAfzaal Ahmad Zeeshan23-Mar-16 10:28 
Questiondivide and conquer master theorem Pin
gweijwoweij21-Mar-16 14:38
gweijwoweij21-Mar-16 14:38 
QuestionHow to decrypt unknown algorithm without a key? Pin
Member 1202769617-Mar-16 0:02
Member 1202769617-Mar-16 0:02 
GeneralRe: How to decrypt unknown algorithm without a key? Pin
Sascha Lefèvre17-Mar-16 1:29
professionalSascha Lefèvre17-Mar-16 1:29 

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.