3 ms·
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.
by lopatin 9y ago
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.
- throwaway29292 9y agoI'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.