Interviews by company · DoorDash

DoorDash's AI Code Craft interview

AI Code Craft is one of DoorDash's onsite rounds, and invites call it the AI Code Craft Challenge. You get 60 minutes, your own IDE, your own AI assistant and a shared screen, and you extend starter code for something that looks like DoorDash work. In most reports that is a workflow that refunds late orders. The assistant can write all of it. DoorDash grades how you work with it.

We read DoorDash's own description of the round from March 2026 and the candidate reports from December 2025 to October 2026 that are still public, and built a practice version of the task from them. Nyrion users send us their rounds too, and we update this page when they do.

What they ask

The prompt is in HackerRank. You copy the starter code, in your preferred language, into your own editor. It is usually a small workflow engine. A text file describes the steps as a graph: start, check whether the order is late, refund if it is, end. The starter reads that file, or half of it, and leaves the code for each step and the running of the workflow to you. The refund itself goes through a mocked payment call. DoorDash's own examples also include an order dispatch system and a smart menu composer, so you may get something else.

Watch the branch. Run every step in dependency order and on-time orders get refunded too, because both sides of the check ran. Assistants asked to "execute the DAG" write exactly that quite often, and the interviewer is waiting to see whether you catch it.

Then the follow-ups. Partial refunds come first: half the money for an order that was a bit late, or only the items that never arrived. One candidate also got a cancel step.

After that the questions turn into system design. What if the refund API is called twice for the same order? You want an idempotency key built from the order and the step, the same on every retry, because a new key per call turns a lost response into a double refund. How do you stop the customer waiting? Accept the request at once, let a worker run the workflow, and expose its status. Some interviewers want this built. Others just want to hear it.

What decides it

DoorDash's post on rebuilding its engineering interviews says the round cannot be graded by checking for the right output. Interviewers score how you get oriented, how you use the AI and check what it wrote, how you debug, how you manage scope and how you explain tradeoffs. Speed counts too. Finishing every part counts for less.

Agree with the interviewer on what has to work at the end. Read the starter. Give the assistant one small piece and read what it wrote. Run the tests and check that they cover more than the happy path. Say why you accept it, then take the next piece. If every step takes long, the hour is gone before the follow-ups.

In one version that started from an empty repo, a candidate built the order lookup and the refund as classes calling each other in one process. Late in the hour they found out the interviewer wanted separate services, each on its own local port, talking over real HTTP. They let the assistant rewrite everything with no time to read it, and that cost them the round.

Another candidate said the thing they expected to lose most points on was accepting a large change with no time to read it. And people with working code and passing tests have been rejected without feedback.

Before you write anything, ask what has to be running at the end and how you should show it.

How we would prepare

Build the engine once yourself: read the file into a graph, run it so that each check picks one branch, write a handler for each kind of step. You will not type it in the interview. You need it so that when the assistant writes it, you can read it in thirty seconds and see whether it runs both branches.

Then practice the loop out loud with a timer, and aim for fifteen minutes on the core path from an empty file. Have the two follow-up answers ready, one sentence each, and stop there until the interviewer asks for more.

Do the services version once too: two or three tiny HTTP services on different ports, one calling the others, checked with curl. One candidate who had not practiced it did not recover.

If you have a round like this at another company too, the AI coding interview guide says how theirs differs.

Frequently asked, briefly answered

Is the Code Craft Challenge the same as AI Code Craft?

Not always. Candidates also use that name for the earlier phone screen, which has no AI: it is Dasher Pay or an API aggregator. DoorDash's rule for its live interviews is no AI unless your interviewer invites it, so if your invite mentions AI, it is the onsite round on this page.

Which AI tool can I use?

Your own, as long as it runs inside your editor. DoorDash says the free tiers of Cursor, Claude Code and Codex are enough. Candidates also used Copilot. One candidate says free tiers ran into their limits. A chat tab alone will not do. The candidate guide DoorDash sends beforehand asks you to arrive with the tool installed and signed in.

Can I let the AI write all of it?

Yes. In DoorDash's words, "yes, you are allowed to one-shot problems", agent modes and running commands included. It also scores how you check what the assistant wrote, so read each change before you accept it.

What else is in the loop?

For backend engineers, a Code Craft phone screen without AI comes first. The onsite then has four rounds: AI Code Craft, a debugging round on a dasher picker or a load balancer, system design (food reviews, donations, notifications), and a hiring manager round that now asks how you use AI. Candidates say every round has to go well. Other roles differ. An October full-stack loop, for one, got a frontend feature instead of the refund engine.

Practice problems tagged for DoorDash

We built Refund Workflow Engine from these reports. The first part is the core task with the parsing done for you, and the second adds partial refunds and cancel. Then the payment service starts timing out, sometimes after it already refunded, and the last part accepts orders at once and refunds later. There is no services version, because our sandbox runs plain Python. Browse the catalog without logging in, and sign in when you want to solve one.

Had this round recently? Tell us how it went and we will add it here.