Meeting Rooms II — sweep the timeline
Mark +1 when a meeting starts and −1 when it ends, then sweep time and track the running total.
Try:
← Prev
Next →
▶ Play
Reset
difference array (+1 start, −1 end)
rooms in use =
0
peak =
0