Company: IBM Backend Developer_15may
Difficulty: medium
You are given m meeting rooms, numbered from 1 to m , along with a list of existing bookings. For a requested meeting window, determine which rooms are available for the entire duration of that window. A room is considered available if it has no booking that overlaps with the requested meeting window. Note: If one meeting ends exactly at time t and another starts at time t , they do not overlap. You are given: requestedStartTime and requestedEndTime : the start and end time of the requested meeting m : the total number of rooms existingBookings , where each booking contains: room ID booking start time booking end time Return all room IDs that remain available throughout the requested meeting window, sorted in increasing order. Example Input: requestedStartTime = 5, requestedEndTime = 10, m = 4, existingBookings = [[1, 3, 5], [1, 1, 2], [2, 2, 6]] Output: [1, 3, 4] Explanation: The meeting roomID 1 has existing meetings at [1, 2] and [3, 5]. This does not overlap with the requested wind