Variation of Meeting Rooms II (minimum rooms for overlapping meetings).
Asked in the DSA round stage.
Write a function that takes a list of meeting intervals and returns the minimum number of rooms required so that no overlapping meetings share a room.
min_meeting_rooms(intervals)
intervals: a list of [start, end] pairs, where each pair represents a meeting interval.t does not overlap with a meeting starting at time t.def min_meeting_rooms(intervals):