Back to all patterns

Heap / Sweep Line

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the Heap / Sweep Line pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.

Medium (1)

Meeting Rooms II

Find minimum number of conference rooms required.

Key Signals:

Track ongoing meetingsMin heap of end timesOr separate start/end arrays