News for hackers. Stuff that matters.
Re:How to Interview Engineers by d0mine on Monday June 26, 2017 @07:02PM (#14641149)
To find whether a and b intervals overlap (ends are not included):

  overlap = a.start < b.end and b.start < a.end
Re:How to Interview Engineers by d0mine on Wednesday June 28, 2017 @09:09AM (#14653723)
Why is it downvoted? The formula is correct and it is simple -- if you don't understand it, just ask.