Transport for London · Software Engineer
Updated · 2026-10-02

Transport for London Software Engineer
Interview Guide

THE 60-SECOND BRIEF

As a Software Engineer at Transport for London (TfL), you are not just writing code; you are building the digital infrastructure that keeps a global city moving. Your work directly impacts millions of daily journeys, from real-time ticketing systems and passenger information services to the complex backend systems managing the capital's vast transport network. You operate at the intersection of public service and high-scale engineering, where reliability, accessibility, and sustainability are paramount. This role offers a unique opportunity to work on projects with massive public visibility and societal impact. Whether you are optimizing data pipelines for the Underground or developing robust interfaces for payment systems, your contributions directly influence the efficiency of Transport for London.

This guide is scoped to a Software Engineer candidate at Transport for London.

Transport for London candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

Competency-based interviewingTechnical competenceProblem solving & decision making

19 min read

Browse Software Engineer questions

See the practice prompts

15Practice promptsAcross five skill areas

As a Software Engineer at Transport for London (TfL), you are not just writing code; you are building the digital infrastructure that keeps a global city moving. Your work directly impacts millions of daily journeys, from real-time ticketing systems and passenger information services to the complex backend systems managing the capital's vast transport network. You operate at the intersection of public service and high-scale engineering, where reliability, accessibility, and sustainability are paramount. This role offers a unique opportunity to work on projects with massive public visibility and societal impact. Whether you are optimizing data pipelines for the Underground or developing robust interfaces for payment systems, your contributions directly influence the efficiency of Transport for London. You will collaborate within multidisciplinary teams, navigating the challenges of legacy system integration alongside modern digital transformation, making this an ideal environment for engineers who value technical complexity and public-good outcomes. ##### Tip Candidates should emphasize their desire to work on projects that provide a tangible, positive impact on Londoners' daily lives, as this is a core motivator for teams at Transport for London.

01

Automated Assessments

reported

Candidates complete situational judgment tests and technical screenings.

What to demonstrate

  • Candidates complete situational judgment tests and technical screenings
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: Why do you want to work for Transport for London specifically, rather than a private tech firm?
  • Answer aloud and timed: Can you describe a time you had to manage a difficult stakeholder?
Transport for London Software Engineer candidate reports ↗
02

Recorded Video Interviews

reported

Candidates participate in a series of recorded video interviews.

What to demonstrate

  • Candidates participate in a series of recorded video interviews
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: How do you approach cross-team collaboration when priorities differ?
  • Answer aloud and timed: What skills are you looking to develop in this role, and how will you achieve that?
Transport for London Software Engineer candidate reports ↗
03

Assessment Center

reported

Candidates engage in a group exercise, technical presentation, and a one-on-one interview with senior engineering staff.

What to demonstrate

  • Candidates engage in a group exercise, technical presentation, and a one-on-one interview with senior engineering staff
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: How do you handle working on projects that affect a large, diverse user base?
  • Answer aloud and timed: Can you explain Object-Oriented Programming (OOP) concepts like inheritance, abstraction, and interfaces?
Transport for London Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Use the STAR method

Structure every behavioral answer using Situation, Task, Action, and Result to ensure clarity and conciseness.

02

Research current projects

Familiarize yourself with recent Transport for London initiatives, such as sustainability goals or digital ticketing updates, to demonstrate genuine interest.

03

Practice OOP foundations

Regardless of your preferred language, ensure you can explain OOP concepts clearly, as these are frequently tested.

04

Be ready for the presentation

You will often receive a brief beforehand; use the full time allowed to prepare and add your own creative, logical structure to the solution.

Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.

10 technical prompts0 include a worked solution

Collapse a redelivered event batch into per-aggregate high-water marks

easy
hashingat-least-onceaggregation

You drain a batch of up to 5,000,000 events, each (aggregate_id BIGINT, aggregate_version INT, event_type, payload). The log guarantees order within one aggregate only; the batch merges 64 partitions, and a relay failover has redelivered a range, so an older version for an aggregate can appear after a newer one. Given a map of last_applied_version per aggregate, produce the events worth applying, at most one per (aggregate_id, version), plus the count discarded. Target O(n) time. State the memory for 2,000,000 distinct aggregates and what you do when it does not fit.

Approach
  1. One pass, one hash map from aggregate_id to the highest version kept, and a discard counter. An event whose version is at or below last_applied_version for its aggregate is dropped without further work, which is the whole reason the event carries its version rather than a delta. O(n) expected time, O(d) space in distinct aggregates.
  2. Keep the maximum, never the last occurrence. The redelivered range means the final appearance of an aggregate in the batch can be an older version than one seen earlier in the same batch, so last-wins applies stale state over newer state and the projection regresses with no error anywhere.
  3. Cost the memory instead of calling it large: an 8-byte key plus a 4-byte version is 12 bytes of payload, and an open-addressed table held at a 0.7 load factor costs roughly 17 bytes per entry before per-slot metadata, so 2,000,000 aggregates is tens of megabytes in a native layout and several times that in a runtime that boxes both key and value.
  4. If the distinct set exceeds memory, partition on hash(aggregate_id) mod P and reduce each partition independently. Every event for one aggregate hashes to the same partition, so the per-partition result is exact and the merge is concatenation rather than a second reduction.
Follow-up
  • The payload is a patch rather than a snapshot, so applying only the highest version loses the intermediate changes. What changes in your reduction?
  • How do you detect that version 7 arrived while version 6 was never delivered, and what should the consumer do about the gap?

Merge partitioned event streams into one ordered feed with bounded lateness

hard
k-way mergewatermarksout-of-order streams

The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.

Approach
  1. Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
  2. Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
  3. Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
  4. Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
  • The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
  • The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?

Track a rolling failure rate per destination for circuit decisions

easy
sliding windowring buffercircuit breaker

The egress service delivers about 1,500 webhooks per second across roughly 40,000 destinations, each call bounded by a 10 second timeout. Maintain, per destination, the failure rate over the trailing 60 seconds so a caller can ask before dispatch whether the circuit should open. Attempts arrive as (destination_id, finished_at_ms, outcome). Requirement: amortised O(1) per attempt, with total memory bounded by the destination count rather than by traffic. Give the structure, its exact memory, and the rule that stops a destination with three attempts from opening a circuit.

Approach
  1. Name the exact-deque version and then reject it as the default. Holding timestamps and advancing a tail pointer past anything older than now minus 60 seconds is a correct two-pointer window at amortised O(1) per attempt, but its memory tracks in-window traffic, so one destination in a retry storm holds hundreds of thousands of entries while thousands of quiet destinations hold none.
  2. Use a ring of 60 one-second buckets per destination, each bucket a pair of counters for attempts and failures. On an attempt, advance the ring by the elapsed whole seconds, zeroing at most min(elapsed, 60) buckets, then increment the head. That is amortised O(1) with a fixed footprint per destination.
  3. State the footprint: 60 buckets times two 4-byte counters is 480 bytes of payload per destination, so 40,000 destinations is roughly 20 to 25 MB with per-entry overhead, bounded by the catalogue rather than by the rate. The cost is granularity, since the oldest bucket ages out in whole seconds, which is far tighter than the decision needs.
  4. Require a minimum sample before the circuit may open. A destination with three attempts and three failures reads as 100 percent and is not evidence; a floor of roughly 20 attempts in the window makes the ratio meaningful, and below that floor use a run of consecutive failures as the trigger instead.
Follow-up
  • The fleet is 30 instances and each sees roughly a thirtieth of a destination's traffic. Where does the rate actually live, and what does a per-instance answer get wrong?
  • A destination answers in 9.5 seconds and succeeds. It is not failing but it is consuming your per-destination concurrency. What signal should open the circuit here?

Built from the rounds and topics Transport for London candidates report.

Small steps. Visible outcomes.0 / 7 completed
ONE WEEK · YOUR PACE

Prepare, practise & reflect

One practical outcome each day. Spend longer where you need it.

0 / 7 done
01Map the Transport for London loop
  • Write out the reported sequence: Automated Assessments, Recorded Video Interviews, Assessment Center.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.

02Work Competency-based interviewing
  • Spend the session on Competency-based interviewing, which Transport for London candidates report being tested on.
  • Write one worked example in Competency-based interviewing and time yourself on it.

Deliverable: One timed worked example in Competency-based interviewing.

03Work Technical competence
  • Spend the session on Technical competence, which Transport for London candidates report being tested on.
  • Write one worked example in Technical competence and time yourself on it.

Deliverable: One timed worked example in Technical competence.

04Work Problem solving & decision making
  • Spend the session on Problem solving & decision making, which Transport for London candidates report being tested on.
  • Write one worked example in Problem solving & decision making and time yourself on it.

Deliverable: One timed worked example in Problem solving & decision making.

05Answer out loud: Behavioral and Motivational
  • Answer aloud, timed: Why do you want to work for Transport for London specifically, rather than a private tech firm?
  • Answer aloud, timed: Can you describe a time you had to manage a difficult stakeholder?

Deliverable: Spoken answers to 2 reported Behavioral and Motivational question(s), under time.

06Answer out loud: Technical and Domain Knowledge
  • Answer aloud, timed: Can you explain Object-Oriented Programming (OOP) concepts like inheritance, abstraction, and interfaces?
  • Answer aloud, timed: How would you approach designing an API for a high-traffic ticketing service?

Deliverable: Spoken answers to 2 reported Technical and Domain Knowledge question(s), under time.

07Dry run for Transport for London
  • Run one full mock under time, then write down the two questions you most want to ask your interviewers.

Deliverable: A completed timed mock and two questions to ask.

Expand any day for tasks and deliverables. Your progress is saved on this device.

Behavioural rounds judge the decision you made and what it cost.

Why do you want to work for Transport for London specifically, rather than a private tech firm?

medium
Behavioral and Motivational

Why do you want to work for Transport for London specifically, rather than a private tech firm?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Can you describe a time you had to manage a difficult stakeholder?

medium
Behavioral and Motivational

Can you describe a time you had to manage a difficult stakeholder?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you approach cross-team collaboration when priorities differ?

medium
Behavioral and Motivational

How do you approach cross-team collaboration when priorities differ?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

What skills are you looking to develop in this role, and how will you achieve that?

medium
Behavioral and Motivational

What skills are you looking to develop in this role, and how will you achieve that?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you handle working on projects that affect a large, diverse user base?

medium
Behavioral and Motivational

How do you handle working on projects that affect a large, diverse user base?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?
  • 01

    Why do you want to work for Transport for London specifically, rather than a private tech firm?

  • 02

    Can you describe a time you had to manage a difficult stakeholder?

  • 03

    How do you approach cross-team collaboration when priorities differ?

  • 04

    What skills are you looking to develop in this role, and how will you achieve that?

PracHub preparation framework ↗
How long does the entire interview process take?

The process can be lengthy, often spanning several months from application to final offer. Stay patient and maintain engagement with your recruiter throughout the process.

Transport for London Software Engineer candidate reports ↗
What is the most important thing to prepare for the assessment center?

The presentation is a critical component; ensure it is well-structured and directly addresses the brief provided. Practice your delivery to ensure you can explain your technical choices clearly within the time limit.

Transport for London Software Engineer candidate reports ↗
How much weight is given to the online tests?

The online assessments are a significant filter. Treat them with the same level of seriousness as the interview itself, as they often determine who advances to the assessment center.

Transport for London Software Engineer candidate reports ↗
Should I focus more on technical or behavioral preparation?

Both are equally important. Transport for London is famous for its competency-based interviews; you must be able to provide structured, STAR-method answers for your behavioral questions.

Transport for London Software Engineer candidate reports ↗
What topics does Transport for London test in interviews?

Transport for London interviews most often cover Competency-based interviewing, Competency-Based Interviewing, Presentation Skills, Communication skills, and Data Governance. The exact emphasis depends on the specific role you apply for.

Transport for London Software Engineer candidate reports ↗
Sources & methodology 3 sources ↗

No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.