How to check for overlapping intervals | Dark Hacker News