DoorDash Senior+ Software Engineer Interview Experience: Delivery Pay Settlement Coding Round, Passed Without Running Tests

DoorDash·Software Engineer·Nov 2026
Technical ScreenSenior+medium

I recently interviewed for a Staff Software Engineer role at DoorDash and wanted to share what this coding round was like.

The problem

Build a courier delivery settlement API. Given a courier ID, pull that courier's order events for the day from an upstream service and work out how much the courier should be paid for that day.

The event fields used for settlement are delivery ID, timestamp and status. Events for the same order are paired up by delivery ID. An order starts counting when it is accepted and ends when it is delivered or the customer cancels it.

When several orders overlap, you split along the timeline. When an order is accepted, the count of in-progress orders goes up by one, and it goes down by one after the minute an order ends has been counted. In this round both the start and end minutes are billed. Each segment is priced as minutes × number of in-progress orders × base rate, and you add up all the segments at the end.

For example, order A runs from minute 1 to 4 and order B from minute 3 to 6. Minutes 1 to 2 have only A, minutes 3 to 4 have both orders running, and minutes 5 to 6 have only B. The total is (2 × 1 + 2 × 2 + 2 × 1) × base rate. The problem also required test coverage.

Format

It was live, writing code while talking with the interviewer. I picked Java. I haven't hand-written code in a long time and was honestly a bit rusty. I moved slowly at the start, and by the time I finished writing I only had time to describe how I would test it. I didn't run a single test case.

A few takeaways

At the start I asked about a few edge cases, like where time starts counting and where it ends. What if the data is missing an end status, how should that be handled? The interviewer said those two questions were good ones.

We also talked about how, if this ran in production, an empty response from upstream and a request timeout should be handled separately.

The interviewer also said that if I forgot syntax I could look it up online, and using AI to generate it was fine too, as long as I could explain the idea clearly.

Later I was notified that I passed this round (I thought I had failed). My guess is that the questions at the start landed, and I explained my thinking and which edge cases needed confirming clearly. If I did it again, I would write the main flow earlier to leave time to run tests. Good luck to everyone with your interviews!

Published

Curated and edited by PracHub

Practice the questions from this interview

Discussion

Sign in to join the discussion. The author is notified of every comment.

Loading comments…

Interview at a glance

Company
DoorDash
Role
Software Engineer
Level
Senior+
Rounds
Technical Screen
Difficulty
medium
Interview date
Nov 2026
Questions from this interview
1 question

Related interview experiences

Explore more interview rounds, questions, and outcomes.

Browse interview experiences