← Amazon questions

Minimum platforms required for train arrival and departure times

Filed under Amazon

Given arrival and departure times of trains at a station in two separate arrays, calculate the minimum number of platforms needed so that no train waits.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.