Concept Flow - Minimum Number of Platforms
Sort arrival times
Sort departure times
Initialize pointers i=0, j=0
Compare arrival[i
Increment platforms
Move i or j pointer
Repeat until all trains processed
Return max platforms needed
Sort arrival and departure times, then use two pointers to count platforms needed by comparing arrivals and departures.
