Click here to Skip to main content
15,884,099 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
Put all your "samples" in a queue.

Pop the first sample; that is your starting date/time.

"Predict" the next sample by adding the samplying rate.

"Peek" into the queue to see if your prediction was right: if not, add prediction to "missing", else pop the predicted value from the queue.

Repeat until queue exhausted.

(Memory streams can also be employed; keeping "positioning" in mind).
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal

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 
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 
QuestionCodility: I can't be the only one Pin
Yugo Amaryl31-Oct-17 6:31
Yugo Amaryl31-Oct-17 6:31 
AnswerRe: Codility: I can't be the only one Pin
Gerry Schmitz31-Oct-17 12:29
mveGerry Schmitz31-Oct-17 12: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.