Click here to Skip to main content
16,005,467 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Writing a Sorting Algorithm -- NEED HELP! Pin
Member 1488614010-Jul-20 3:04
Member 1488614010-Jul-20 3:04 
GeneralRe: Writing a Sorting Algorithm -- NEED HELP! Pin
Dave Kreskowiak23-Jul-20 3:39
mveDave Kreskowiak23-Jul-20 3:39 
QuestionA permutation problem Pin
Member 135615816-Dec-17 4:04
Member 135615816-Dec-17 4:04 
AnswerRe: A permutation problem Pin
Richard MacCutchan6-Dec-17 4:09
mveRichard MacCutchan6-Dec-17 4:09 
AnswerRe: A permutation problem Pin
Luc Pattyn20-Dec-17 12:03
sitebuilderLuc Pattyn20-Dec-17 12:03 
QuestionAlgorithm for insert element in compressed sparse row matrix Pin
drudox 16-Nov-17 4:23
drudox 16-Nov-17 4:23 
QuestionNo-intersection edge detection. Pin
primem0ver11-Nov-17 6:19
primem0ver11-Nov-17 6:19 
QuestionDatagap finder Pin
V.7-Nov-17 0:10
professionalV.7-Nov-17 0:10 
AnswerRe: Datagap finder Pin
Peter_in_27807-Nov-17 0:46
professionalPeter_in_27807-Nov-17 0:46 
AnswerRe: Datagap finder Pin
Gerry Schmitz7-Nov-17 12:21
mveGerry Schmitz7-Nov-17 12:21 
QuestionPrefix sum: GenomicRangeQuery Pin
Yugo Amaryl5-Nov-17 23:20
Yugo Amaryl5-Nov-17 23:20 
AnswerRe: Prefix sum: GenomicRangeQuery Pin
Gerry Schmitz6-Nov-17 6:08
mveGerry Schmitz6-Nov-17 6:08 
AnswerRe: Prefix sum: GenomicRangeQuery Pin
honey the codewitch17-Jan-18 17:02
mvahoney the codewitch17-Jan-18 17:02 
Questionfind largest number of pages i can buy from a list of books within a certain budget. Pin
Member 135013603-Nov-17 1:16
Member 135013603-Nov-17 1:16 
hi,

im pretty rusty with algorithms and i was posed this question. how do I find the most amount of pages i can buy from a list of books within a certain budget. I got as far as sorting the list based on cost, then by no. pages. then i was thinking of creating a map with the cost as key and a list of books at each price. then sorting each keys list based on no of pages. I think im headed in the right direction but iam not quite sure how to complete the exercise? can someone help me of point me in the direction of the correct algorithms i should be using? cheers!
AnswerRe: find largest number of pages i can buy from a list of books within a certain budget. Pin
OriginalGriff3-Nov-17 1:19
mveOriginalGriff3-Nov-17 1:19 
GeneralRe: find largest number of pages i can buy from a list of books within a certain budget. Pin
Member 135013603-Nov-17 1:56
Member 135013603-Nov-17 1:56 
AnswerRe: find largest number of pages i can buy from a list of books within a certain budget. Pin
Ralf Meier3-Nov-17 2:08
mveRalf Meier3-Nov-17 2:08 
GeneralRe: find largest number of pages i can buy from a list of books within a certain budget. Pin
Member 135013603-Nov-17 2:15
Member 135013603-Nov-17 2:15 
QuestionWhat is the best search strategy? Pin
daxue2-Nov-17 18:07
daxue2-Nov-17 18:07 
QuestionLoad balancing with 3 factors Pin
LabVIEWstuff1-Nov-17 4:58
LabVIEWstuff1-Nov-17 4:58 
AnswerRe: Load balancing with 3 factors Pin
Afzaal Ahmad Zeeshan1-Nov-17 5:36
professionalAfzaal Ahmad Zeeshan1-Nov-17 5:36 
GeneralRe: Load balancing with 3 factors Pin
LabVIEWstuff3-Nov-17 1:45
LabVIEWstuff3-Nov-17 1:45 
GeneralRe: Load balancing with 3 factors Pin
Afzaal Ahmad Zeeshan3-Nov-17 1:55
professionalAfzaal Ahmad Zeeshan3-Nov-17 1:55 
AnswerRe: Load balancing with 3 factors Pin
Gerry Schmitz1-Nov-17 5:37
mveGerry Schmitz1-Nov-17 5:37 
GeneralRe: Load balancing with 3 factors Pin
LabVIEWstuff3-Nov-17 1:38
LabVIEWstuff3-Nov-17 1:38 

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.