Lesson 12.6 · Pro

Overlaps and "at the same time"

Find overlapping date ranges, and the most things happening at once.

In this lesson

  1. Turn each shift into +1 and -1 events
  2. A running sum gives "online right now"
  3. Overlapping date ranges