Company: Oracle_14nov
Difficulty: medium
Meeting Scheduler Problem Description You are given m distinct rooms (numbered 1..m) and a list of n existing bookings for different rooms. Given a requested meeting window, return list of all rooms in a sorted order that have no meetings scheduled at any moment in the requested meeting window. Note: A meeting ending at time t does not overlap with another meeting starting at t. Inputs: `requestedStartTime`, `requestedEndTime` : start time and end time of the requested meeting window `m` : total meeting rooms available `existingBookings` : each entry denotes an existing booking `existingBookings[i][0]` : denotes room ID of i-th scheduled meeting `existingBookings[i][1]` : denotes start time of i-th scheduled meeting `existingBookings[i][2]` : denotes end time of i-th scheduled meeting Examples Example 1: Input: requestedStartTime = 5, requestedEndTime = 10, m = 4, existingBookings = [[1, 3, 5], [1, 1, 2], [2, 6]] Output: [1, 3, 4] Explanation: The meeting roomID 1 has meetings at [1, 2