cswork / libraryOpen practice workspace

Interview guides · HD Supply

HD Supply Software Engineer Interview Guide

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

The 60-second brief

A Software Engineer at HD Supply plays a critical role in powering the digital and physical supply chain infrastructure of one of the largest industrial distributors in North America. By developing, maintaining, and optimizing high-scale applications, you directly impact how millions of maintenance, repair, and operations (MRO) products are sourced, tracked, and delivered to customers. The systems you build and support ensure that inventory management, distribution center logistics, and e-commerce platforms run seamlessly and efficiently. In this role, you will work on complex, high-volume transactional systems where software efficiency translates directly into physical operational speed. Whether you are optimizing inventory routing algorithms, enhancing warehouse management systems (WMS), or refining customer-facing digital portals, your work has a tangible impact on daily operations.

This guide is scoped to a Software Engineer candidate at HD Supply.

Focus areas

  • Distribution Center Operations
  • Process Safety Management (PSM)
  • Warehouse/Distribution Center Metrics (Time Cycle)

The HD Supply interview process

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

Initial Screening

Conducted by a recruiter or through a detailed email questionnaire focusing on basic qualifications and alignment with the role.

What to demonstrate

  • Conducted by a recruiter or through a detailed email questionnaire focusing on basic qualifications and alignment with the role
  • Depth in Distribution Center Operations

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.

Technical Evaluations

Includes a coding quiz or a phone interview with an IT lead to assess core programming and system design skills.

What to demonstrate

  • Includes a coding quiz or a phone interview with an IT lead to assess core programming and system design skills
  • Depth in Distribution Center Operations

How to prepare

  • Answer aloud and timed: How would you design a software solution to track inventory in real-time across multiple regional distribution hubs?
  • Answer aloud and timed: Describe a time you had to adapt your engineering work to comply with strict operational or process safety regulations.

Comprehensive Interviews

Video or in-person interviews with the hiring manager, engineering team members, and possibly departmental directors or VPs.

What to demonstrate

  • Video or in-person interviews with the hiring manager, engineering team members, and possibly departmental directors or VPs
  • Depth in Distribution Center Operations

How to prepare

  • Answer aloud and timed: How would you handle a scenario where a software update causes a delay in physical package routing at a distribution center?
  • Answer aloud and timed: Explain the differences between SQL and NoSQL databases, and when you would choose one over the other for a logistics tracking system.

Where candidates lose points

Connect code to business value

When discussing your past projects, don't just explain the technologies you used. Clearly explain how your software solved a business problem, reduced operational costs, or improved system efficiency.

Prepare for remote collaboration scenarios

Be ready to detail how you maintain high productivity and clear communication when working with off-site managers, distributed teams, or remote stakeholders.

Clarify travel and location expectations early

Since some engineering roles support regional distribution centers, ensure you understand the travel requirements and local proximity expectations during your initial recruiter screen.

Questions & practice

Identify the heaviest tenants in a five-minute window under memory pressure

Medium · top-k · heavy hitters · streaming

The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.

Approach

  1. Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
  2. Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
  3. State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
  4. Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.

Follow-up

  • The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
  • Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?

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?

Track a rolling failure rate per destination for circuit decisions

Easy · sliding window · ring buffer · circuit 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?

Explain the differences between SQL and NoSQL databases, and when you would choose one over the other for a lo

Medium · Core Software Engineering & Technical Co

Explain the differences between SQL and NoSQL databases, and when you would choose one over the other for a logistics tracking system.

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

Stop tag and share joins from fanning out a page

Medium · join fan-out · semi-joins · many-to-many

resource_tag is (resource_id, tag_id) with PK (resource_id, tag_id); resource_share is (resource_id, shared_with_user_id, permission). The tagged-and-shared listing inner-joins resource to both, filters tenant_id, tag_id = ANY($2) and shared_with_user_id = $3, orders by updated_at DESC and takes 50. Pages come back with fewer than 50 distinct resources and the total in the header is far too high. Explain the row multiplication, rewrite both the page query and the count query so each is correct, and name the index each one needs. PostgreSQL 16.

Approach

  1. Do the arithmetic against the predicates that are actually there. An inner join emits one row per matching child row, and both joins are filtered: tag_id = ANY($2) admits only the requested tags, shared_with_user_id = $3 admits one user's share rows. So a resource holding three of the requested tags and shared with $3 once yields three rows, not one — the multiplier is its count of matching tags times its share rows for that single user, and that second factor is 1 unless the table admits duplicate (resource_id, shared_with_user_id) pairs. LIMIT 50 then limits rows rather than resources, and COUNT(*) counts pairs — the header is the product, not the population.
  2. Reject DISTINCT as the fix. It deduplicates after the product has been built, so the planner must materialise and sort the fanned-out set before the LIMIT can apply, and it leaves any SUM or AVG in the same select list wrong.
  3. Rewrite both filters as semi-joins, keeping resource as the only row source: AND EXISTS (SELECT 1 FROM resource_tag rt WHERE rt.resource_id = r.resource_id AND rt.tag_id = ANY($2)) and the same shape against resource_share. A semi-join stops at the first match per resource and preserves the driving index order, so ORDER BY updated_at DESC, resource_id DESC LIMIT 50 still stops after 50 rows.
  4. Count with the same predicates and no join at all: SELECT count(*) FROM resource r WHERE r.tenant_id = $1 AND r.status = 'active' AND EXISTS (...) AND EXISTS (...). Nothing multiplies a resource, so the number is the population.

Follow-up

  • The filter changes from 'any of these tags' to 'all of these tags'. Rewrite it and state what it costs relative to the ANY form.
  • A resource can be shared with the same user twice under different permissions. Does your count change, and should it?

How does your previous technical experience translate to supply chain or distribution center operations?

Medium · Distribution Logistics & Domain Alignmen

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?

Explain your familiarity with distribution time cycles and how software can optimize warehouse throughput.

Medium · Distribution Logistics & Domain Alignmen

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

How would you design a software solution to track inventory in real-time across multiple regional distribution

Medium · Distribution Logistics & Domain Alignmen

How would you design a software solution to track inventory in real-time across multiple regional distribution hubs?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

How would you handle a scenario where a software update causes a delay in physical package routing at a distri

Medium · Distribution Logistics & Domain Alignmen

How would you handle a scenario where a software update causes a delay in physical package routing at a distribution center?

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 optimizing a slow-running API or database query under heavy load?

Medium · Core Software Engineering & Technical Co

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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?

Walk me through how you ensure your code is secure, scalable, and easy for other developers to maintain.

Medium · Core Software Engineering & Technical Co

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

Describe a technical challenge you solved that required deep debugging of legacy code.

Medium · Core Software Engineering & Technical Co

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 HD Supply candidates report.

Day 1 — Map the HD Supply loop

  • Write out the reported sequence: Initial Screening, Technical Evaluations, Comprehensive Interviews.
  • 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.

Day 2 — Work Distribution Center Operations

  • Spend the session on Distribution Center Operations, which HD Supply candidates report being tested on.
  • Write one worked example in Distribution Center Operations and time yourself on it.

Deliverable: One timed worked example in Distribution Center Operations.

Day 3 — Work Process Safety Management (PSM)

  • Spend the session on Process Safety Management (PSM), which HD Supply candidates report being tested on.
  • Write one worked example in Process Safety Management (PSM) and time yourself on it.

Deliverable: One timed worked example in Process Safety Management (PSM).

Day 4 — Work Warehouse/Distribution Center Metrics (Time Cycle)

  • Spend the session on Warehouse/Distribution Center Metrics (Time Cycle), which HD Supply candidates report being tested on.
  • Write one worked example in Warehouse/Distribution Center Metrics (Time Cycle) and time yourself on it.

Deliverable: One timed worked example in Warehouse/Distribution Center Metrics (Time Cycle).

Day 5 — Answer out loud: Distribution Logistics & Domain Alignment

  • Answer aloud, timed: How does your previous technical experience translate to supply chain or distribution center operations?
  • Answer aloud, timed: Explain your familiarity with distribution time cycles and how software can optimize warehouse throughput.

Deliverable: Spoken answers to 2 reported Distribution Logistics & Domain Alignment question(s), under time.

Day 6 — Answer out loud: Core Software Engineering & Technical Concepts

  • Answer aloud, timed: Explain the differences between SQL and NoSQL databases, and when you would choose one over the other for a logistics tracking system.
  • Answer aloud, timed: How do you approach optimizing a slow-running API or database query under heavy load?

Deliverable: Spoken answers to 2 reported Core Software Engineering & Technical Concepts question(s), under time.

Day 7 — Answer out loud: Behavioral & Team Collaboration

  • Answer aloud, timed: Tell me about a time you had to work closely with an off-site manager or a highly distributed team.
  • Answer aloud, timed: How do you handle a situation where a product owner or stakeholder changes software requirements mid-sprint?

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.

Describe a time you had to adapt your engineering work to comply with strict operational or process safety reg

Medium · Distribution Logistics & Domain Alignmen

Describe a time you had to adapt your engineering work to comply with strict operational or process safety regulations.

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 is your experience with microservices architecture, and how do you handle data consistency across service

Medium · Core Software Engineering & Technical Co

What is your experience with microservices architecture, and how do you handle data consistency across services?

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 me about a time you had to work closely with an off-site manager or a highly distributed team.

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?

How do you handle a situation where a product owner or stakeholder changes software requirements mid-sprint?

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 time you disagreed with a technical lead or architect. How did you resolve the conflict and move th

Medium · Behavioral & Team Collaboration

Describe a time you disagreed with a technical lead or architect. How did you resolve the conflict and move the project forward?

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 me about a time you failed to meet a project deadline. What did you learn, and how did you communicate th

Medium · Behavioral & Team Collaboration

Tell me about a time you failed to meet a project deadline. What did you learn, and how did you communicate this to your team?

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 prioritize your daily tasks when managing multiple urgent support tickets and feature requests?

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?