Reddit interview question

Design a public transit system