This question evaluates a candidate's competency in interval-based scheduling and resource allocation, assessing understanding of overlapping time intervals and the management of concurrent events.
You are given a list of meetings, where each meeting is represented as a pair of integers [start, end] (with start < end) indicating the meeting start time (inclusive) and end time (exclusive).
Return the minimum number of conference rooms required so that all meetings can take place without overlaps in the same room.
meetingTimings
:
List<List<Integer>>
, where each inner list has exactly two integers
[start, end]
.
t
and another starts at time
t
, they do
not
overlap and can use the same room.
[[0, 30], [5, 10], [15, 20]]
2
1 <= n <= 10^5