What DoorDash's Code Craft round tests, how the newer 60-minute AI-assisted session differs, and how to prepare for the one you are scheduled for.
The DoorDash Code Craft interview is a practical coding round. Instead of a puzzle, you build or fix a small piece of business logic, such as a Dasher pay calculation or an order-assignment module, and prep sites report that the interviewer looks at how you structure it and handle ambiguity, failures and bad input. In March 2026 DoorDash described a 60-minute AI-assisted working session for engineering candidates, run on your own machine, where using an AI coding assistant is expected. Which candidates get it depends on the team and level, so confirm with your recruiter. The two formats treat AI very differently, so your first step is to ask your recruiter which one you have.
The rest of this page covers both formats, where each piece of information comes from, a worked example for the classic round, a plan for the AI session, and what to ask your recruiter.
Two rounds people call "Code Craft"
DoorDash describes the new round as an AI-assisted working session. The name Code Craft appears on prep sites that compile candidate reports; this page found no DoorDash source that uses it. Searches for "AI code craft" most likely point at the newer session, but that is our reading, not a sourced fact. Here is how the two compare.
- — Classic Code Craft — AI-assisted working session
- Source — Prep-site compilations of candidate reports — DoorDash engineering blog, March 19, 2026
- Environment — Shared editor such as HackerRank, CoderPad or CodeSandbox — Your own machine and your preferred IDE
- AI tools — Check with your interviewer before using any — Expected (per DoorDash)
- Length — Reported as 1-2 problems of 45-60 minutes each — 60 minutes (per DoorDash)
- Task — Implement a business module from rules, such as Dasher pay or order assignment — Join a small, realistic project from starter code and extend it
- Graded on — Code structure and API design, handling ambiguity, failure cases and malformed input (per prep sites) — Getting oriented, using AI and checking its output, debugging, managing scope, explaining trade-offs (per DoorDash)
The post does not say which teams or levels use it, as far as we could tell, and aced.io notes the mix of rounds varies by team and level. Some loops also include a separate debugging round: candidate reports from July and September 2026 describe fixing a small piece of code against failing test cases and a round called a "bug bash".
The classic round: what interviewers look for
Prep sites describe the classic round in similar terms: a small service or component that mirrors DoorDash logistics, with clean object-oriented design, a sensible API and proper handling of malformed input. Reported prompts include a Dasher pay calculation service, an order assignment system, a merchant rating system, and an API that combines several internal services with timeouts and retries. One guide puts it plainly: structure, ambiguity and failure handling matter more than raw algorithm speed.
That changes what good preparation looks like. Grinding hard LeetCode problems helps with the phone screen. It does little for a round where the hard part is turning loose business rules into code that someone else could maintain.
Worked example: a Dasher pay module
Here is a practice version of the pay-calculation prompt. The rules are invented for practice and are not DoorDash's real Dasher pay formula: each delivery pays a base amount plus a per-mile rate plus the full tip, with a bonus during peak hours, and a weekly total sums every delivery once.
from dataclasses import dataclass
from decimal import Decimal
@dataclass(frozen=True)
class Delivery:
delivery_id: str
miles: Decimal
tip: Decimal
peak: bool = False
class PayCalculator:
def __init__(self, base=Decimal("2.00"), per_mile=Decimal("0.50"),
peak_bonus=Decimal("1.50")):
self.base, self.per_mile, self.peak_bonus = base, per_mile, peak_bonus
def pay(self, d: Delivery) -> Decimal:
if d.miles < 0 or d.tip < 0:
raise ValueError(f"invalid delivery {d.delivery_id}")
total = self.base + self.per_mile * d.miles + d.tip
if d.peak:
total += self.peak_bonus
return total.quantize(Decimal("0.01"))
def weekly_total(self, deliveries) -> Decimal:
seen, total = set(), Decimal("0")
for d in deliveries:
if d.delivery_id in seen:
continue # duplicate event from upstream: pay once
seen.add(d.delivery_id)
total += self.pay(d)
return totalWhat makes this answer strong or weak in a design-focused round:
- Money is `Decimal`, not `float`. Binary floats cannot represent most cents exactly, so 0.1 + 0.2 is not 0.3. Saying this unprompted shows you have thought about production data.
- The rates are constructor arguments, not hard-coded constants. The likely follow-up is "peak bonus now depends on the city." With the rates injected, that is a small change rather than a rewrite.
- Duplicates are a decision, not an accident. Upstream systems can send the same delivery twice. Paying once is a reasonable rule, but say it out loud and ask whether the interviewer wants duplicates logged too.
- Invalid input stops the whole weekly total. That is safe for payments, where a wrong total is worse than a failed job, but it means one bad record blocks a whole week of pay. Name the alternative (skip and report the bad record) and let the interviewer choose.
- Tests come before polish. Write three quick checks: zero miles, a duplicate ID, a negative tip. Prep sites stress structure, failure handling and malformed input, so quick tests of those cases show you thought about them, and a test that catches your own bug is a good way to demonstrate that.
If you finish early, extend it the way an interviewer would: add per-city rates, or a cap on the peak bonus per week, and explain which class should own that rule.
The AI-assisted session: what DoorDash says
DoorDash's March 2026 post is the most detailed primary source on the new round. The points that matter for preparation:
- Your setup, your tools. DoorDash says candidates use their own IDE with AI coding tools; check the candidate guide for which tools and modes are allowed.
- A realistic task. You get starter code in your preferred language and a task that looks like DoorDash work. Examples include extending an order dispatch system.
- You narrate. You share your screen and explain what you are doing, what you plan to try next, and why.
- Five signals. How you get oriented, how you use AI and verify its output, how you debug, how you manage scope, and how you communicate trade-offs.
The post also describes what DoorDash learned from pilots, and two lessons are directly useful. First, DoorDash says orientation took candidates a meaningful share of the session in early pilots, so it moved to smaller projects. Orientation still costs time, so plan for it. Second, candidates who were not told what to expect arrived without a configured IDE, or thought that using AI fully was cheating. DoorDash now sends a detailed candidate guide that includes arriving with a working setup. Read it as soon as you get it.
A 60-minute plan for the session
This plan is our suggestion, built around the five signals DoorDash lists. It is not a DoorDash script.
- Minutes 0–10: get oriented. Read the README, run the starter code and its tests before changing anything, and ask the interviewer what "done" looks like.
- Minutes 10–15: plan out loud. Break the requirement into three or four steps. Write down what success means for the first step before you prompt the assistant, because a vague prompt gets vague code.
- Minutes 15–50: build in small loops. For each change the assistant makes, read the diff, run it, and add a targeted check. When something breaks, reproduce it in the smallest way you can and read the logs before asking the AI to fix it. DoorDash says it wants to see how you check AI output rather than accept it unreviewed.
- Minutes 50–60: stop adding scope. Summarise what works, what you would do next, and the trade-offs you made. A working subset you can explain beats a large change you cannot.
Before the day, check that the assistant is signed in and working in your IDE, run a test screen share that shows your editor and terminal together, and do at least two practice builds in the language you will use. If you rarely use agent modes, practise one session where you let the agent make a multi-file change and then review every file it touched.
AI rules differ between rounds
DoorDash's candidate guidance on AI says to follow each interviewer's instructions on AI use, so ask before using any tool. Some guides still describe AI in DoorDash interviews as strictly prohibited. Rules differ by round: the AI-assisted session is built around AI tools, while other rounds may not allow them. Ask your recruiter which applies to each round.
The same guidance covers take-home and live working sessions: some assignments prohibit AI and others allow or encourage it, so read each one's instructions. If you need AI or recording tools as an accommodation, DoorDash asks you to raise it with your recruiter in your first conversation.
What to ask your recruiter
Every one of these is a normal question for a candidate to ask, and the answers change how you prepare:
- Is my coding round the AI-assisted working session or a traditional coding round?
- Which environment will I use: my own IDE, HackerRank or CoderPad?
- Does my loop include a separate debugging round?
- Can I get the candidate guide now rather than the day before?
- Which rounds, if any, allow AI tools?
For the rest of the loop, our pages on DoorDash system design interview questions and DoorDash LeetCode questions cover the system design round and the phone screen.
How to prepare in the week before
- For the classic round: build three modules from scratch, 45 minutes each, out loud: the pay calculator above, an order assigner that respects driver capacity, and a function that calls two slow services with a timeout and one retry. After each, write down the follow-up question you would ask if you were the interviewer, and implement it.
- For a debugging round: take a small repository you have never seen, break one test on purpose (or ask a friend to), and practise finding the cause by reading the failing test first.
- For the AI session: do two timed builds with your assistant on starter code you did not write, narrating as you go. Record one and watch for the moments you accepted generated code without reading it.
If you use Verve AI's Coding Copilot while practising, solve the module yourself first, then try its Edge Case action to see how it handles unusual inputs and its Complexity action for a Big-O analysis, and compare both with your own. Use it for practice, and follow the rules your recruiter gives you for each round.
Sources
- New AI-assisted working session: format, tools, tasks, scoring signals, pilot lessons, candidate guide (March 19, 2026): https://careersatdoordash.com/blog/doordash-is-rebuilding-its-engineering-interviews-around-ai/
- DoorDash candidate guidance on AI: live interviews, take-homes, accommodations: https://careersatdoordash.com/blog/doordash-stance-ai-interviewing/
- CodeCraft as a practical business-module round, reported prompts, environments, variation by team and level: https://www.aced.io/guides/doordash-software-engineer-interview
- Debugging round with failing test cases (July 2026) and "bug bash" round (September 2026), candidate reports: https://www.aced.io/experiences?company=doordash
- Code Craft as a logistics service build, object-oriented design and malformed-input handling, pay calculation and merchant rating prompts: https://www.techprep.app/blog/doordash-interview-process
- HackerRank and CoderPad as coding environments: https://www.lodely.com/blog/doordash-code-craft-interview-2025
- Older guide describing AI in DoorDash interviews as strictly prohibited: https://interviewing.io/doordash-interview-questions
- Verve Coding Copilot quick actions: https://docs.vervecopilot.com/features/coding-copilot
Ryan
CEO of Verve AI







