cswork / libraryOpen practice workspace

Interview guides · HDR

HDR Software Engineer Interview Guide

HDR Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

As a Software Engineer at HDR, you play a critical role in bridging physical infrastructure and digital innovation. HDR is an employee-owned architecture, engineering, and consulting firm that delivers complex, large-scale civil, environmental, and structural projects globally. Software engineers inside this engineering-centric environment build domain-specific software tools, internal project automation platforms, spatial data processing pipelines, and data integration platforms that power multi-disciplinary engineering projects. Your work directly impacts project delivery speed, structural modeling accuracy, and cross-team collaboration across disciplines ranging from transportation and water systems to data centers and urban planning.

This guide is scoped to a Software Engineer candidate at HDR.

Focus areas

  • CFD (Computational Fluid Dynamics)
  • ANSYS Fluent
  • Thermofluids

The HDR interview process

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

Online Application

Submit your application online to express interest in the Software Engineer position.

What to demonstrate

  • Submit your application online to express interest in the Software Engineer position
  • Depth in CFD (Computational Fluid Dynamics)

How to prepare

  • Answer aloud and timed: Walk us through a complex project on your resume from start to finish.
  • Answer aloud and timed: Describe a technical challenge you encountered in a past project and how you resolved it.

Initial Screening Call

A call with a recruiter or department manager to confirm basic details and logistics.

What to demonstrate

  • A call with a recruiter or department manager to confirm basic details and logistics
  • Depth in CFD (Computational Fluid Dynamics)

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Panel Interview

A virtual or in-person interview with a panel of 2 to 4 team members discussing your resume and past projects.

What to demonstrate

  • A virtual or in-person interview with a panel of 2 to 4 team members discussing your resume and past projects
  • Depth in CFD (Computational Fluid Dynamics)

How to prepare

  • Answer aloud and timed: How have you applied your academic coursework or specialized technical training to practical engineering problems?
  • Answer aloud and timed: How do you approach structuring code or scripts to automate repetitive engineering or data processing tasks?

Office Visit

An invitation to visit the local HDR office, tour the space, and meet potential teammates.

What to demonstrate

  • An invitation to visit the local HDR office, tour the space, and meet potential teammates
  • Depth in CFD (Computational Fluid Dynamics)

How to prepare

  • Answer aloud and timed: What experience do you have working with CAD tools, spatial data, or domain-specific computational software?
  • Answer aloud and timed: How do you ensure code quality, accuracy, and maintainability when building software used by cross-disciplinary teams?

Where candidates lose points

Highlight Practical Deliverables

Focus your answers on tangible outcomes. Explain what software tools you built, how they were used, and the measurable impact they had on project performance or efficiency.

Prepare Questions for the Panel

Show active interest in HDR's project portfolio. Ask interviewers about current internal software initiatives, team structures, and how technology adoption is managed within their specific office.

Dress Professionally for Interviews

Even for informal or virtual panel sessions, dressing in professional business attire sets a positive, respectful tone that aligns well with HDR’s corporate environment.

Questions & practice

Archive a resource graph without breaking live references or recursing

Medium · graph traversal · topological order · tenant isolation

Resources reference other resources within a tenant; for the largest tenant the reference table holds up to 2,000,000 nodes and 8,000,000 edges. Archiving a resource must archive everything reachable from it that nothing outside the set still references, refuse when a live external referrer exists, and terminate when references form cycles, which they legitimately do. Produce the archive order and the refusal list, targeting O(V+E). Say what stops the traversal crossing a tenant boundary, and why recursion is the wrong control structure at this size.

Approach

  1. Load the subgraph with the tenant predicate on both endpoints of the edge, not only on the side you started from. Scoping the left table alone is the classic cross-tenant leak: one mis-entered edge then pulls another tenant's resources into the traversal and, worse, into the archive.
  2. Traverse iteratively with an explicit stack. A 2,000,000-node graph can hold a chain deep enough to exhaust a native stack in the low tens of thousands of frames, and that failure is a process crash rather than an error you can return.
  3. Treat cycles as data rather than corruption: compute strongly connected components with Tarjan in O(V+E) using its own explicit stack, then condense. The condensation is a DAG, so a topological order over it gives the archive order, and every member of a component archives in one transaction because no order within a cycle is valid.
  4. Decide refusals with reverse edges. A candidate is archivable only if every in-edge originates inside the candidate set, so build the transpose or count in-degrees restricted to the visited set, and emit each blocked resource with the id of the external referrer, which is the only part of the answer an operator can act on.

Follow-up

  • The graph is read in one query and the archive writes a minute later. What can change in between, and how do you make the write safe?
  • The candidate set is 400,000 resources. Is that one transaction, and if not, what does a half-finished archive look like to a reader?

Merge partitioned event streams into one ordered feed with bounded lateness

Hard · k-way merge · watermarks · out-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?

Find overlapping job attempts and peak concurrency from lease records

Medium · sweep line · intervals · leases

A day of job_run history yields about 50,000,000 attempt records: (job_run_id, job_type, attempt, started_at, finished_at which is NULL when the worker died, lease_expires_at). Leases expire on a clock, so a job that outran its lease ran twice. Produce (a) every job_run_id whose attempts overlapped in wall-clock time and (b) the peak number of simultaneously running attempts per job_type with the minute it occurred. Target O(n log n). State how you treat a NULL finished_at and what clock skew does to your answer.

Approach

  1. Define the interval before sorting anything: an attempt occupies [started_at, COALESCE(finished_at, lease_expires_at)). finished_at is observed and lease_expires_at is only a promise, so every attempt without a finish contributes an estimate and the whole result is a lower bound on overlap rather than an exact count.
  2. For peak concurrency, sweep: emit 2n endpoints, sort by (timestamp, kind) with ends ordered before starts at equal timestamps, then walk the sequence maintaining a counter per job_type and record each type's maximum with its timestamp. O(n log n) dominated by the sort, O(n) space, or O(1) extra if the sort is external and the walk streams.
  3. For overlap detection, do not compare attempts pairwise. A single global sort by (job_run_id, started_at) gives both the grouping and the order; within a group, keep the maximum end seen so far and report an overlap exactly when the next start is less than that running maximum, which is one linear pass after the sort.
  4. Half-open intervals matter and are easy to get wrong: with closed intervals an attempt ending at the same millisecond another begins reads as concurrency two, and across 50,000,000 records that artefact swamps the real signal.

Follow-up

  • A handler is not idempotent and you have found 400 overlapping jobs. Which of them actually caused damage, and what would you query to find out?
  • Peak concurrency for one job_type is 4 against a configured cap of 4. Is the cap working, or is the data hiding attempts that never started?

Keep soft-deleted accounts from blocking re-registration

Easy · soft delete · unique constraints · engine differences

app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.

Approach

  1. Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
  2. Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
  3. For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
  4. State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.

Follow-up

  • A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
  • How do you honour an erasure request while resource_revision.actor_user_id still references this table?

Write the update path that detects a concurrent edit

Medium · optimistic concurrency · transactional outbox · audit history

resource carries version INT NOT NULL DEFAULT 1. resource_revision holds revision_id, resource_id, version, actor_user_id, change_kind, patch JSONB, request_id, created_at with UNIQUE (resource_id, version). outbox_event holds aggregate_type, aggregate_id, aggregate_version, event_type, payload, status. A PUT carries the version the client read. Write the exact statements for the single transaction that applies the edit, records the revision and enqueues 'resource.updated', and give the handler's branch on zero affected rows. Then say what PostgreSQL 16 does under READ COMMITTED when two of these updates hit one row at once.

Approach

  1. One transaction, three writes, no network call inside it: UPDATE resource SET title = $3, version = version + 1, updated_at = now() WHERE resource_id = $1 AND tenant_id = $4 AND version = $2; then INSERT the resource_revision row at version $2 + 1; then INSERT the outbox_event row at the same aggregate_version. The event goes to a table rather than a broker because no transaction spans both.
  2. Branch on the affected-row count before doing anything else. Zero has three causes — stale version, wrong tenant, row gone — so re-read once and map to 409 carrying the current version, or 404 for an id outside the caller's tenant, which also stops the endpoint confirming that another tenant's id exists.
  3. State the engine behaviour instead of assuming it. Under READ COMMITTED the second UPDATE blocks on the row lock, and when the first commits PostgreSQL re-evaluates the WHERE clause against the newly committed row, so the version predicate now fails and the statement reports zero rows. Under REPEATABLE READ the identical collision raises SQLSTATE 40001 instead, so the handler must fold both shapes into one conflict response.
  4. Keep UNIQUE (resource_id, version) even though the predicate already serialises writers. It is what makes a lost update unwritable if any other path ever reaches the revision table, and it converts a logic bug into 23505 rather than into a silently missing history row.

Follow-up

  • A client sends the version it read ten minutes ago and the resource has moved three versions. What is in your 409 so it can resolve the conflict without a full re-fetch?
  • Two editors, two disjoint fields, no overlap. Does your answer still refuse the second write, and should it?

Walk us through a complex project on your resume from start to finish.

Medium · Resume & Past Technical Projects

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

Describe a technical challenge you encountered in a past project and how you resolved it.

Medium · Resume & Past Technical Projects

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

What software tools, frameworks, or engineering packages have you used extensively in your recent work?

Medium · Resume & Past Technical Projects

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. 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 have you applied your academic coursework or specialized technical training to practical engineering probl

Medium · Resume & Past Technical Projects

How have you applied your academic coursework or specialized technical training to practical engineering problems?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. 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 approach structuring code or scripts to automate repetitive engineering or data processing tasks?

Medium · Domain Knowledge & Technical Skills

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

What experience do you have working with CAD tools, spatial data, or domain-specific computational software?

Medium · Domain Knowledge & Technical Skills

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. 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 code quality, accuracy, and maintainability when building software used by cross-disciplinar

Medium · Domain Knowledge & Technical Skills

How do you ensure code quality, accuracy, and maintainability when building software used by cross-disciplinary teams?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

What approach do you take to learn new software platforms or specialized technical domains quickly when joinin

Medium · Domain Knowledge & Technical Skills

What approach do you take to learn new software platforms or specialized technical domains quickly when joining a new project?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

Walk us through how you handle debugging a system when you encounter unexpected software behavior or incorrect

Medium · Domain Knowledge & Technical Skills

Walk us through how you handle debugging a system when you encounter unexpected software behavior or incorrect data outputs.

Approach

  1. Establish what changed and when, before forming any theory.
  2. Pick a bisection that eliminates candidates whichever way it turns out.
  3. Check the instrumentation before believing the symptom.
  4. 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?

Suggested practice checklist

Built from the rounds and topics HDR candidates report.

Day 1 — Map the HDR loop

  • Write out the reported sequence: Online Application, Initial Screening Call, Panel Interview, Office Visit.
  • 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 4 reported rounds, with the weakest marked.

Day 2 — Work CFD (Computational Fluid Dynamics)

  • Spend the session on CFD (Computational Fluid Dynamics), which HDR candidates report being tested on.
  • Write one worked example in CFD (Computational Fluid Dynamics) and time yourself on it.

Deliverable: One timed worked example in CFD (Computational Fluid Dynamics).

Day 3 — Work ANSYS Fluent

  • Spend the session on ANSYS Fluent, which HDR candidates report being tested on.
  • Write one worked example in ANSYS Fluent and time yourself on it.

Deliverable: One timed worked example in ANSYS Fluent.

Day 4 — Work Thermofluids

  • Spend the session on Thermofluids, which HDR candidates report being tested on.
  • Write one worked example in Thermofluids and time yourself on it.

Deliverable: One timed worked example in Thermofluids.

Day 5 — Answer out loud: Resume & Past Technical Projects

  • Answer aloud, timed: Walk us through a complex project on your resume from start to finish.
  • Answer aloud, timed: Describe a technical challenge you encountered in a past project and how you resolved it.

Deliverable: Spoken answers to 2 reported Resume & Past Technical Projects question(s), under time.

Day 6 — Answer out loud: Domain Knowledge & Technical Skills

  • Answer aloud, timed: How do you approach structuring code or scripts to automate repetitive engineering or data processing tasks?
  • Answer aloud, timed: What experience do you have working with CAD tools, spatial data, or domain-specific computational software?

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

Day 7 — Answer out loud: Behavioral & Team Collaboration

  • Answer aloud, timed: Tell us about yourself, your background, and why you want to work for HDR.
  • Answer aloud, timed: Describe a situation where you had to collaborate with a cross-functional team or non-technical stakeholders. How did you align on expectations?

Deliverable: Spoken answers to 2 reported Behavioral & Team Collaboration question(s), under time.

Behavioural preparation

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

Can you share an example of a time when you delivered an exceptional technical result that directly benefitted

Medium · Resume & Past Technical Projects

Can you share an example of a time when you delivered an exceptional technical result that directly benefitted your team or company?

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?

Tell us about yourself, your background, and why you want to work for HDR.

Medium · Behavioral & Team Collaboration

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?

Describe a situation where you had to collaborate with a cross-functional team or non-technical stakeholders.

Medium · Behavioral & Team Collaboration

Describe a situation where you had to collaborate with a cross-functional team or non-technical stakeholders. How did you align on expectations?

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 manage competing priorities when working on multiple project deliverables with tight deadlines?

Medium · Behavioral & Team Collaboration

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?

Tell us about a time you experienced friction or a disagreement within a project team and how you navigated it

Medium · Behavioral & Team Collaboration

Tell us about a time you experienced friction or a disagreement within a project team and how you navigated it professionally.

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 type of work environment or team dynamic allows you to perform at your best?

Medium · Behavioral & Team Collaboration

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?