Asana SWE Interview Question 2024 April | Greedy | on-campus
Question · Posted Jun 2026
Question 1: Meeting Rooms II Problem Statement Given an array of meeting time intervals intervals where intervals[i] = [starti, endi], return the minimum number of conference rooms required. Constraints 1 <= intervals.length <= 104 0 <= starti < endi <= 106 Examples Example 1: Input: intervals = [[0,30],[5,10],[15,20]] Output: 2 Explanation 1: We need two conference rooms. Room 1 hosts meeting [0,30]. Room 2 hosts meetings [5,10] and [15,20] sequentially as they do not overlap. Example 2: Input: intervals = ...
The full answer & interview discussion are available to premium members.
Log in Create a free account