← Skills

Heaps, sorting & intervals

rooms from end times

Keep a min-heap of end times; reuse the earliest-ending room when it is free, else add one.

Builds on: heapq push/pop, interval overlap

—
Unseen

No reps yet

No reps yet.

Attempts
0
Correct
0
Failed
0
Clean streak
0
Cold
0/0
Hints
0

Next review: after your first rep

Recent attempts

No reps yet.