Intervals - Minimum Number of Platforms Required
Consider the following code snippet implementing the sweep line algorithm to find the minimum number of platforms required. What is the value of
max_platforms returned for the input arrivals = [900, 940, 950] and departures = [910, 1200, 1120]?