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.
Automated Assessments
reportedCandidates 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?
Recorded Video Interviews
reportedCandidates 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?
Assessment Center
reportedCandidates 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?
PracHub editorial advice for the preparation topics above.
Use the STAR method
Structure every behavioral answer using Situation, Task, Action, and Result to ensure clarity and conciseness.
Research current projects
Familiarize yourself with recent Transport for London initiatives, such as sustainability goals or digital ticketing updates, to demonstrate genuine interest.
Practice OOP foundations
Regardless of your preferred language, ensure you can explain OOP concepts clearly, as these are frequently tested.
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.
Collapse a redelivered event batch into per-aggregate high-water marks
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
- 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.
- 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.
- 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.
- 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
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
- 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.
- 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.
- 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.
- 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
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
- 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.
- 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.
- 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.
- 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?
Explain why the owner filter ignores the listing index
The only index on resource is (tenant_id, status, updated_at DESC, resource_id DESC). A new endpoint returns one user's resources across all statuses, newest created first: WHERE tenant_id = $1 AND owner_user_id = $2 ORDER BY created_at DESC LIMIT 20. On a tenant with 2M rows it takes 900 ms and EXPLAIN shows a sort above a large scan. Explain precisely why the existing index cannot serve it, give the index that can, and state which of these the new index still will not help: owner_user_id alone across tenants; the same query ordered by updated_at. PostgreSQL 16.
Approach
- Separate the two jobs an index does. For filtering, a composite btree is seekable only on a left prefix, so with no predicate on status the scan can at best range over tenant_id and test owner_user_id per row; PostgreSQL 16 has no btree skip scan to jump the unconstrained column.
- For ordering, the index is sorted by (status, updated_at) within a tenant and not by created_at, so the LIMIT cannot stop early: every matching row is read and then sorted. That is the 'Sort Method: top-N heapsort' line, and it is why the plan reads 2M rows to answer with 20.
- Derive the replacement from the access path — equality, equality, then the ordering column: CREATE INDEX CONCURRENTLY ON resource (tenant_id, owner_user_id, created_at DESC). The scan seeks to the (tenant, owner) range and walks 20 entries in order, so the Sort node disappears along with the row-read.
- Treat INCLUDE (title, status) as conditional, not free. An index-only scan still visits the heap for any row whose page is not marked all-visible, so on a table taking 1.2k writes/second the win depends on autovacuum keeping the visibility map current, and the wider index costs more on every insert.
Follow-up
- 90% of rows are status='active'. Would a partial index WHERE status = 'active' change your answer, and for which of the three queries?
- A dashboard runs this for 40 owners in one page load. What changes about the design?
Denormalise tenant onto revisions and backfill it live
resource_revision (revision_id, resource_id, version, actor_user_id, change_kind, patch, request_id, created_at) has 400M rows and no tenant column; tenant_id lives only on resource. Two reads need it: a tenant-scoped audit feed ordered by created_at DESC, and an offboarding purge. Both join back to resource today. Justify adding tenant_id to resource_revision against those two reads, name the anomaly the copy introduces and the constraint that prevents it, then give the ordered migration for a live table taking 1.2k writes/second — the lock each step takes, how the backfill is batched, and where each step stops being reversible. PostgreSQL 16.
Approach
- Justify from the access path rather than from taste. Without the column, the audit feed either scans resource_revision by created_at and discards other tenants' rows, or resolves the tenant's resource_ids first and probes with them — both proportional to the tenant's whole history rather than to one page. With (tenant_id, created_at DESC, revision_id DESC) it is a seek that stops at 50 rows, and the purge becomes a ranged delete instead of a join.
- Name the cost exactly: a second copy of a fact can disagree with the first. Make the disagreement unwritable rather than documented — add UNIQUE (resource_id, tenant_id) on resource so it can serve as a foreign-key target, then FOREIGN KEY (resource_id, tenant_id) REFERENCES resource (resource_id, tenant_id) on the revision table. A revision can then only ever carry its parent's tenant.
- Step one, expand: ALTER TABLE resource_revision ADD COLUMN tenant_id BIGINT NULL, with no default, so it is a catalogue change and no rewrite. It still needs ACCESS EXCLUSIVE for an instant, and that instant queues behind the longest open transaction on the table while every later query queues behind it — set lock_timeout to 2s and retry rather than wait.
- Step two, dual-write: deploy the writer that populates tenant_id on every new revision while reads still use the join. Reversible by redeploying the previous build, because nothing reads the column yet.
Follow-up
- The backfill is half finished and a rollback is required. What state is the table in, and what does the previous build do with a half-populated column?
- How do you verify the backfill actually finished, given rows are still being inserted while it runs?
Can you explain Object-Oriented Programming (OOP) concepts like inheritance, abstraction, and interfaces?
Can you explain Object-Oriented Programming (OOP) concepts like inheritance, abstraction, and interfaces?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How would you approach designing an API for a high-traffic ticketing service?
How would you approach designing an API for a high-traffic ticketing service?
Approach
- Say who the caller is and what they do when the call fails halfway.
- Define the identity of a request so a retry cannot double-apply it.
- Separate accepted, pending, failed and confirmed; they are different facts.
- Design the error taxonomy before the success shape; callers branch on it.
Follow-up
- What happens if the caller retries after a timeout?
- How does a client discover it is on an old version of this contract?
Describe a technical project you are proud of and the challenges you faced during its implementation.
Describe a technical project you are proud of and the challenges you faced during its implementation.
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How do you ensure your code is maintainable and scalable?
How do you ensure your code is maintainable and scalable?
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
Can you walk us through your debugging process when faced with a complex system failure?
Can you walk us through your debugging process when faced with a complex system failure?
Approach
- Establish what changed and when, before forming any theory.
- Pick a bisection that eliminates candidates whichever way it turns out.
- Check the instrumentation before believing the symptom.
- Separate the trigger from the cause; the deploy is rarely the bug.
Follow-up
- What would you look at first, and what would it rule out?
- How would you tell a cause from a coincidence here?
Built from the rounds and topics Transport for London candidates report.
Prepare, practise & reflect
One practical outcome each day. Spend longer where you need it.
0 / 7 done01Map 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?
Why do you want to work for Transport for London specifically, rather than a private tech firm?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
Can you describe a time you had to manage a difficult stakeholder?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
How do you approach cross-team collaboration when priorities differ?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
What skills are you looking to develop in this role, and how will you achieve that?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
How do you handle working on projects that affect a large, diverse user base?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
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.
- 01Transport for London Software Engineer candidate reports ↗
Company-reported rounds, questions and FAQ.
Candidate reports · Accessed 2026-09-22 - 02PracHub Software Engineer practice ↗
PracHub practice material, not company-reported.
PracHub page · Accessed 2026-09-22 - 03PracHub preparation framework ↗
PracHub preparation guidance.
PracHub page · Accessed 2026-09-22