instagram

Minimum Number of Platforms Required for a Railway/Bus Station Method 1

Given arrival and departure times of all trains that reach a railway station, find the minimum number of platforms required for the railway station so that no train waits.

Output:

Share