Click here to Skip to main content
15,888,218 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Overlapping dates Algorithem Pin
Eslam Afifi15-Jul-09 16:07
Eslam Afifi15-Jul-09 16:07 
GeneralRe: Overlapping dates Algorithem Pin
Fatbuddha 115-Jul-09 21:25
Fatbuddha 115-Jul-09 21:25 
GeneralRe: Overlapping dates Algorithem Pin
Eslam Afifi16-Jul-09 4:28
Eslam Afifi16-Jul-09 4:28 
GeneralRe: Overlapping dates Algorithem Pin
Fatbuddha 116-Jul-09 21:41
Fatbuddha 116-Jul-09 21:41 
AnswerRe: Overlapping dates Algorithem Pin
harold aptroot9-Jul-09 14:06
harold aptroot9-Jul-09 14:06 
GeneralRe: Overlapping dates Algorithem Pin
kKamel9-Jul-09 14:10
kKamel9-Jul-09 14:10 
GeneralRe: Overlapping dates Algorithem Pin
harold aptroot9-Jul-09 14:41
harold aptroot9-Jul-09 14:41 
GeneralRe: Overlapping dates Algorithem Pin
Eslam Afifi9-Jul-09 15:09
Eslam Afifi9-Jul-09 15:09 
If you mean that you're checking more than 2 intervals at the same time you can sort them by start date ascending (complexity depends on the choosen sorting algorithm) then loop over them and check with the next interval for the next's start date < current's end date (O(n) complexity).
And you're welcome.

Eslam Afifi

AnswerRe: Overlapping dates Algorithem Pin
Luc Pattyn9-Jul-09 22:25
sitebuilderLuc Pattyn9-Jul-09 22:25 
AnswerRe: Overlapping dates Algorithem Pin
PIEBALDconsult12-Jul-09 17:20
mvePIEBALDconsult12-Jul-09 17:20 
GeneralRe: Overlapping dates Algorithem Pin
Luc Pattyn12-Jul-09 18:19
sitebuilderLuc Pattyn12-Jul-09 18:19 
GeneralRe: Overlapping dates Algorithem Pin
PIEBALDconsult12-Jul-09 19:38
mvePIEBALDconsult12-Jul-09 19:38 
GeneralRe: Overlapping dates Algorithem Pin
Luc Pattyn13-Jul-09 0:19
sitebuilderLuc Pattyn13-Jul-09 0:19 
GeneralRe: Overlapping dates Algorithem Pin
kKamel13-Jul-09 12:35
kKamel13-Jul-09 12:35 
GeneralRe: Overlapping dates Algorithem Pin
Luc Pattyn13-Jul-09 12:59
sitebuilderLuc Pattyn13-Jul-09 12:59 
GeneralRe: Overlapping dates Algorithem Pin
harold aptroot13-Jul-09 13:40
harold aptroot13-Jul-09 13:40 
GeneralRe: Overlapping dates Algorithem Pin
Luc Pattyn13-Jul-09 13:51
sitebuilderLuc Pattyn13-Jul-09 13:51 
GeneralRe: Overlapping dates Algorithem [modified] Pin
harold aptroot13-Jul-09 14:00
harold aptroot13-Jul-09 14:00 
QuestionPlease Tell me what kind of Encryption Algorithm is used : Pin
smathe6-Jul-09 10:08
smathe6-Jul-09 10:08 
JokeRe: Please Tell me what kind of Encryption Algorithm is used : Pin
Luc Pattyn6-Jul-09 11:42
sitebuilderLuc Pattyn6-Jul-09 11:42 
AnswerRe: Please Tell me what kind of Encryption Algorithm is used : Pin
harold aptroot6-Jul-09 11:53
harold aptroot6-Jul-09 11:53 
QuestionRe: Please Tell me what kind of Encryption Algorithm is used : Pin
Eddy Vluggen7-Jul-09 3:36
professionalEddy Vluggen7-Jul-09 3:36 
AnswerRe: Please Tell me what kind of Encryption Algorithm is used : Pin
Thomas Krojer7-Jul-09 4:36
Thomas Krojer7-Jul-09 4:36 
AnswerRe: Please Tell me what kind of Encryption Algorithm is used : Pin
Pete O'Hanlon7-Jul-09 4:57
mvePete O'Hanlon7-Jul-09 4:57 
AnswerRe: Please Tell me what kind of Encryption Algorithm is used : Pin
Henry Minute8-Jul-09 12:09
Henry Minute8-Jul-09 12:09 

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.