doordash logo
DoorDash· Midlevel SWE Role

[USA] DoorDash Code Craft Round

Result
Ongoing
Posted
17 Nov 2025
1,220 reads

Summary

I successfully navigated the Code Craft round for a Midlevel SWE role at DoorDash, which focused on a collaborative problem to design and implement Dasher payout logic within a new Payments Service microservice. The experience was positive, and I passed the round.

How it went

I recently had my Codecraft round for a Midlevel SWE position at DoorDash. This wasn't a typical LeetCode-style problem; instead, it was a collaborative coding exercise with the interviewer. I found the discussion incredibly engaging, and the interviewer was genuinely present and interested in my thought process, which I really appreciated. I successfully passed this round.

Questions asked (3)

  1. 01

    DoorDash Dasher Payout Logic (Code Craft)

    Data Structures & Algorithms · Medium

    As part of migrating from a monolith to a micro-service architecture, my team was tasked with building a new Payments Service, specifically the Dasher payout logic. My project involved creating an API with a POST /payout endpoint that takes dasherId as input and outputs the dollar amount the dasher gets paid. This endpoint needed to request delivery information from a separate upstream service (which could be mocked for the exercise).

    The payment model's first version was based on the time a Dasher spends fulfilling each order. Given a sequence of order activities for a Dasher on a given day, I needed to calculate the pay based on these rules:

    • Base pay rate: $0.3 per minute
    • Multi-order pay rate: # ongoing deliveries * base pay rate
    The service needed to contain logic to determine the payout for a dasher according to external data from another service. For the exercise, I could mock the data and create a function to return the set of data.

  2. 02

    Handle Edge Cases in Dasher Payout Logic

    Data Structures & Algorithms · Medium

    What would be the edge cases you can think of in your implementation of the Dasher payout logic? Discuss and correct for those, and test your code.

  3. 03

    Handle High Latency in Upstream Service

    System Design · Hard

    What would happen if the upstream service (for delivery information) had high latency? What would you do to mitigate this?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at DoorDash recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!