Created
November 22, 2021 04:33
-
-
Save azubkokshe/e080e36f50b0b943e079872bd9e40b64 to your computer and use it in GitHub Desktop.
Elegant algorithm to detect overlapping periods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.start <= b.end AND a.end >= b.start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment