Showing 3 questions
You are given a list of meeting time intervals. Determine the minimum number of conference rooms required to accommodate all the meetings without any overlap.
#1. Meeting Rooms II
Design a data structure that efficiently finds the median of a dynamically growing stream of numbers. You need to implement methods to add new numbers and quickly retrieve the current median.
#2. Find Median from Data Stream
Given a sorted array, find the first and last position of a given target value. If the target is not found, return [-1, -1].
#3. Find First and Last Position of Element in Sorted Array