Scheduling

3 articles

dsa8 min read

Meeting Rooms II — Minimum Conference Rooms via End-Time Heap

Find the minimum number of conference rooms required for all meetings by tracking room availability with a min-heap of end times — a classic interval scheduling problem asked at every major tech company and fundamental to resource allocation.

Read →
dsa9 min read

IPO — Greedy Capital Maximization with Two Heaps

Maximize capital after k IPO investments by unlocking affordable projects into a max-profit heap — a sophisticated two-heap greedy problem asked at Google, Amazon, and Facebook that models real-world portfolio optimization.

Read →