News for hackers. Stuff that matters.
Re:How to Interview Engineers by lopatin on Tuesday June 27, 2017 @05:59PM (#14649905)
Don't over complicate it. Given two number ranges, of UTC timestamps, determine if they overlap. I think you know where to start with that.
Re:How to Interview Engineers by throwaway29292 on Wednesday June 28, 2017 @02:53AM (#14652177)
I'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.