Given subway time table with stops and different lines, say if user wants to find a route from station A to station B at time X, design a service that responds to user's request.
The design should involve database schema design, and consider scalability and availability. Subway timetables aren't updated frequently.
How would you store the data? How would you find the shortest route at certain time? How to improve latency of the service?