Greedy Algorithms - Minimum Platforms (Train Stations)
Consider the following Python function that calculates the minimum number of platforms needed. Given the input arrivals = [900, 940, 950] and departures = [910, 1200, 1120], what is the value of
max_platforms after processing the second train (index 1)?