News for hackers. Stuff that matters.
Re:How to Interview Engineers by anshou- on Tuesday June 27, 2017 @10:06AM (#14645469)
Given two StartDate values (SDa, SDb) and two EndDate values (EDa, EDb) of a fully qualified date type:

No Overlap -- EDa < SDb OR EDb < SDa

Overlap -- SDb <= EDa AND SDa <= EDb

I have this written on a PostIt in my binder.

There are no comments on this comment yet.