Answer: Asana SWE Interview Question 2024 April | Greedy | on-campus
Answer · Posted Jun 2026
Solution 1: Meeting Rooms II — Min-Heap Range Tracking Approach To find the minimum number of conference rooms, we need to track the end times of active meetings. If a new meeting starts before the earliest active meeting ends, we must allocate a new room. We can solve this using a Min-Heap: Sort the meeting intervals by their start times. This ensures we process meetings chronologically. Initialize a Min-Heap to store the end times of meetings currently taking place in ...
The full answer & interview discussion are available to premium members.
Log in Create a free account