GXO Logistics · Software Engineer
Updated · 2026-09-20

GXO Logistics Software Engineer
Interview Questions & Guide 2026

THE 60-SECOND BRIEF

GXO Logistics operates in warehouse and supply-chain logistics.

Use the supplied role context to prepare for warehouse event processing and operational visibility. The guide focuses on inventory and workflow state, reproducible evidence and safe recovery.

The reviewed sources do not establish one universal interview sequence. Use these exercises as preparation, then follow the format and team scope in your invitation.

warehouse event processing and operational visibilityinventory accuracylogistics

10 min read

Practice 11 Software Engineer prompts
11Practice promptsAcross five skill areas
4With worked solutionsIncluded in the practice prompts

Start with the domain contract. GXO Logistics context points toward logistics; name the site/order identity, authorization boundary and durable evidence before choosing infrastructure.

The official source provides company or product context. It does not prove a fixed employer loop or that the exercises below were asked in an interview.

Model the state before the happy path. Treat order events as potentially duplicated, delayed or reordered. State which version is authoritative and who can change it.

Make recovery observable. Separate a rejected operation from an unknown result, preserve correlation IDs and explain which retries are safe.

Visual walkthrough

Explore your preparation priorities

Choose a focus to see how to prepare.

STAGE 1 / 3

Define order identity

Contract: identify the durable site/order state and proof.

YOUR PREPARATION
  • Name the stable identity and authorization boundary.
  • Write the success and replay invariants.
Try a related exerciseDesign an idempotent order workflow

PracHub practice map for GXO Logistics. Select a checkpoint to connect site/order identity, order state and recovery evidence to a practice prompt.

01

Define order identity

editorial

Write the contract for a site/order operation: stable identity, authorization, version and durable confirmation.

What to demonstrate

  • Domain modeling
  • Clear assumptions

How to prepare

  • Name the business entity and its stable key.
  • List the proof a retry must preserve.
Read the source
02

Protect order state

editorial

Model concurrent scan events as explicit transitions so a stale or duplicated event cannot silently replace current state.

What to demonstrate

  • Concurrency reasoning
  • Failure boundaries

How to prepare

  • Trace two actors from the same version.
  • Choose the atomic comparison and update boundary.
Read the source
03

Explain order recovery

editorial

Keep enough evidence to distinguish a order timeout from rejection, duplicate acceptance or an already-completed operation.

What to demonstrate

  • Operational judgment
  • User-safe recovery

How to prepare

  • Write the retry and reconciliation path.
  • Name the metric or log that proves each outcome.
Read the source

PracHub editorial advice for the preparation topics above.

Visual walkthrough

Follow the state, not just the happy path

Choose a scenario to trace what changes.

The expected version for this order still matches the authoritative state.

  1. 01Start order operationAccept the order request with an operation identity.
  2. 02Check current versionCompare the expected version with the authoritative state.
  3. 03Commit order statePersist the new order state and return durable confirmation.
WHAT YOUR SYSTEM SHOULD DO

Commit one order version and return durable confirmation.

Compare three outcomes for GXO Logistics practice: a confirmed order write, a version conflict and a lost response.

01

Choosing infrastructure before defining identity and state

Name the site/order key, tenant scope, versions and durable confirmation before selecting queues, caches or databases.

02

Treating a timeout as proof of failure

Model an unknown order result, look up the operation and reuse the same identity.

03

Joining multiple one-to-many tables at detail grain

Aggregate each order input to the requested output grain and assert row-count invariants.

04

Quoting an unverified interview sequence

Use the exact recruiter instructions and role posting; describe this guide as preparation rather than employer-process evidence.

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

8 technical prompts4 include a worked solution

Merge shift windows

mediumWorked solution
IntervalsSortingBoundaries

Given half-open shift windows [start, end), merge overlapping or touching windows. Reject an end before its start and return a new sorted list.

Approach
  1. Sort by start and scan while keeping one current window.
  2. Merge when the next start is at or before the current end; validate every boundary.
Worked solution 35 min
  1. Sort the windows.
  2. Validate each boundary during the scan.
  3. Merge overlap and exact touching; otherwise start a new result window.
Python
def merge_windows(windows):
    merged = []
    for start, end in sorted(windows):
        if end < start:
            raise ValueError("end before start")
        if not merged or start > merged[-1][1]:
            merged.append([start, end])
        else:
            merged[-1][1] = max(merged[-1][1], end)
    return [tuple(item) for item in merged]

Scroll sideways to view long lines.

EXPECTED RESULT[(1, 6), (9, 12)] for [(1, 3), (3, 6), (10, 12), (9, 10)].
Follow-up
  • How would an inclusive end change the touching-window rule?

Apply scan events exactly once

medium
IdempotencyState machinesVersioning

Process site/order events with an operation ID, observed time and version. Ignore exact replays, reject an ID reused with different content and reject a stale version.

Approach
  1. Deduplicate by the full business key and event ID.
  2. Make duplicate detection and state advancement one atomic decision.
Follow-up
  • What evidence should remain after the replay-retention period?

Count recent order signals

medium
Sliding windowQueuesTime boundaries

Implement add(timestamp) and count(now) for order signals in (now - 10, now]. Timestamps are nondecreasing, equal timestamps are distinct and the clock can advance without a new signal.

Visual walkthrough

Which events still count?

ROLLING TOTAL+2units
(0, 10]Events in window: 2
In windowExpiredNot arrived

The left boundary is excluded; the right boundary is included. Drag past an event to see it enter, then expire 10 seconds later.

See the event values
  • At 0s: +1expired
  • At 5s: +1in window
  • At 10s: +1in window
  • At 14s: +1not arrived
  • At 19s: +1not arrived

Synthetic order signals at 0, 5, 10, 14 and 19 seconds. Drag the clock: the interval is (now - 10, now], so the lower boundary is excluded.

Approach
  1. Keep timestamps in a deque and evict values at or before now - 10.
  2. Each timestamp enters and leaves once, giving amortized O(1) updates.
Follow-up
  • How would you bound memory for inactive keys?

A seven-session PracHub practice plan with one reviewable artifact per session. Adjust the pace to your experience and interview date; it is not a company hiring timeline.

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
01Choose the role boundary
  • Read the exact opening.
  • List the product, service and operational responsibilities it names.

Deliverable: A one-page role-scope note

02Practice the domain boundary
  • Run the order window solution.
  • Add touching, contained, empty and invalid shift windows cases.

Deliverable: A tested boundary contract

Practice prompt ↗Worked solution ↗
03Protect event identity
  • Model exact replay and conflicting reuse for scan events.
  • State the atomic write boundary.

Deliverable: An idempotency table and invariant list

Practice prompt ↗Practice prompt ↗
04Verify SQL grain
  • Run the latest order query.
  • Draw the row grain before the aggregate join.

Deliverable: SQL results plus cardinality notes

Practice prompt ↗Practice prompt ↗Worked solution ↗
05Design recovery first
  • Trace success, conflict and lost order response.
  • Name the reconciliation owner.

Deliverable: A failure-path sequence diagram

Practice prompt ↗Practice prompt ↗Worked solution ↗
06Reproduce stale state
  • Resolve two scan event responses in reverse order.
  • Add server and client generation checks.

Deliverable: A deterministic regression test

Practice prompt ↗Worked solution ↗
07Rehearse evidence-based stories
  • Practice two real examples aloud.
  • Remove team-level claims you cannot attribute to your action.

Deliverable: Two concise STAR notes with observable evidence

Practice prompt ↗Practice prompt ↗

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

Use real examples. Name your responsibility, the evidence available at the time, the trade-off and what changed after your decision.

Explain a inventory accuracy trade-off

medium
CommunicationOwnershipTrade-offs

Describe a real project where you balanced inventory accuracy, delivery speed and operational risk.

Approach
  1. Name your individual responsibility and the evidence available then.
  2. Explain the trade-off, action and observable result.
Follow-up
  • What would you change with today’s information?

Communicate during a order incident

medium
Incident responseCommunicationObservability

Tell a story about a order or production incident where symptoms crossed team or system boundaries.

Approach
  1. Separate confirmed impact from hypotheses.
  2. Describe how you kept stakeholders aligned while the investigation changed.
Follow-up
  • Which signal would you add after the incident?

Protect inventory and workflow state quality

medium
QualityTestingJudgment

Describe a time you added a test, review or control that prevented a costly site/order error.

Approach
  1. Explain the failure mode and why the guard belongs at that boundary.
  2. Show the result with a metric, escaped defect or reduced recovery time.
Follow-up
  • How would you keep the control from becoming a false-positive burden?
  • 01

    Bring one result you improved and one decision you changed after seeing evidence.

GXO Logistics — official company context
Are these verified GXO Logistics interview questions?

No. They are PracHub editorial exercises informed by official GXO Logistics context and technical references. Team requirements and formats vary.

GXO Logistics — official company context
Which language should I use for the coding practice?

Use a language accepted for your interview and explain its collection, numeric and error-handling behavior. The Python examples emphasize the contract, not a required company stack.

Python — collections.deque
Is this GXO Logistics interview schedule?

No. It is a seven-session PracHub preparation checklist. Follow the timing and format in your invitation.

Sources & methodology 4 sources ↗

Official role evidence, timestamped platform data and clearly labeled preparation advice.