System design interview · UK

Trainline system design interview

Trainline sells train and coach tickets across the UK and Europe from many operators, with journey search, live departures, delay alerts and mobile tickets.

Nobody outside Trainline knows their exact question. Most design rounds are a problem close to what the company builds, so these are the problems to practise. Check the job ad, and ask your recruiter what the round covers.

Likely problems

Problems close to what Trainline builds

Each one with what makes it hard, and the follow-ups an interviewer is likely to push on.

  1. Problem 1 · The search that starts every booking

    Search journeys and fares across operators

    What makes it hard

    • Timetables and fares that come from many operators and systems
    • Cheapest fares that depend on splitting or combining tickets
    • Fast answers for popular routes at busy times

    Follow-ups to expect

    • “An operator changes its timetable. How fast does search reflect it?”
    • “What do you cache, and what must be live?”
  2. Problem 2 · Live alerts are a big reason people use the app

    Tell everyone on a delayed train, fast

    What makes it hard

    • A live feed of train movements
    • Fan-out from one train to everyone with a ticket for it
    • Pushes that arrive in time to matter

    Follow-ups to expect

    • “The feed sends ten updates about the same delay. How many pushes go out?”
    • “How do you find everyone on that train quickly?”
  3. Problem 3 · Operators hold the seats; the app only books them

    Sell a seat that lives in someone else's system

    What makes it hard

    • A hold in the operator's system while the customer pays
    • The operator timing out after you have taken payment
    • Refunds and changes that also go through the operator

    Follow-ups to expect

    • “Payment worked but the booking call failed. What does the customer see?”
    • “How do you keep holds from leaking?”
Free library

Revise these first

Worked problems and notes in the free library that cover the hard parts above.

This kind of round

More on rounds like this

The common problems, follow-ups and mistakes, for every company that builds something similar.

The whole process

Plan Trainline's other stages too

The design round is one stage. Paste the recruiter's email and the job ad, and get their stages in their order (recruiter call, hiring manager, design, final and anything else), each with prompts to prepare, practise and debrief in any AI chat. Your CV and projects go in once. Free, no account, and nothing leaves your browser.

Start your prep for Trainline
Planned · per company

The plan and prompts are free now. The paid part is planned: five timed mocks of their design round, by voice, on a whiteboard, with an interviewer who pushes back and scores you against the bar for your level. £19 / $24 / €22 per company, once, not a subscription.

Your move · one question

Would you pay for it? Tell us on the waitlist.

Join the waitlist

One email when it opens. We keep only your email address and your answer.

Similar companies

Companies with rounds like this

Got an interview coming up?

Interviewing at Trainline? Add them and get their stages, in their order, in about a minute.