← Questions

Reachability in a time-indexed train schedule

0
GleanGoogleCodingLast asked Oct 2026

Given train departures and arrivals with timestamps, decide whether a destination is reachable from a start station without time travel. Reported on 1point3acres' Glean bank; reconstructed in our own words.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding