DoorDash Software Engineer Coding & Algorithms Interview Questions
Practice 61 real Coding & Algorithms interview questions for Software Engineer roles at DoorDash.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Simulate Constant-Time Random Courier Selection
Simulate Constant-Time Random Courier Selection Problem Implement simulate_random_picker(operations, random_values). The picker maintains a changing s...
Find the Minimum Parenthesis Deletions and Their Positions
Problem Given a string containing only ( and ), remove the minimum number of characters needed to make the remaining string a valid parenthesis sequen...
Implement dasher active-time calculator
Implement a function that, given a dasherId, a local pay-period interval [startLocalDateTime, endLocalDateTime), and a list of order events of the for...
Track the First Unique Restaurant in a Stream
Problem Restaurant IDs arrive one at a time. Support two operations: - add(value): append one occurrence. - showFirstUnique(): return the earliest-arr...
Find the Minimum Delivery Processing Speed
Problem A delivery worker has hours whole hours to finish n orders. Order i has work[i] units. If the worker's integer processing speed is speed units...
Calculate Driver Payments
This question evaluates a candidate's ability to implement interval arithmetic and overlap computation, perform data deduplication and filtering, hand...
Implement consistent hashing ring
Implement consistent hashing ring Implement consistent hashing for routing keys to servers. Provide APIs addNode(nodeId, weight), removeNode(nodeId), ...
Maximize Chef Assignment Profit
You are given three integer arrays: - chefSkill[i]: the skill level of the i-th chef. - dishDifficulty[j]: the difficulty level required to cook the j...
Validate a Shopping Cart
This question evaluates the ability to implement robust input and business-rule validation for shopping-cart items, including data integrity checks, i...
Solve tree distance and design file system
Solve tree distance and design file system Given a binary tree, find the maximum distance between two 'alive' nodes, where 'alive' nodes are initially...
Implement Timeout Refund Workflow
This question evaluates skills in deterministic workflow design, idempotency and retry-safety for external payment integrations, state-transition corr...
Compute Nearest Destination Distances
This question evaluates graph and grid traversal concepts, specifically multi-source shortest-path computation on a grid and handling special-cell con...
Count changed nodes between two menu trees
This question evaluates algorithmic problem-solving with tree data structures, testing competencies in hierarchical diffing, node matching by sibling ...
Identify members lacking specialty coverage
Identify members lacking specialty coverage Oscar wants to ensure that every insurance member has adequate access to in-network healthcare providers w...
Implement a simple service with tests
Implement a simple service with tests You're given a short written specification for a small service class (no external dependencies). Implement the c...
Implement image carousel with comments and upvotes
Implement an image carousel that supports: 1) cycling forward/backward and autoplay with a configurable interval; 2) a per-image comment thread with c...
Compute cart total with best promotion
Assume you are implementing a checkout price calculator for an online shopping cart. You are given: - A list of items in the cart. Each item has: - ...
Compute dasher pay from order event logs
You are given a list of delivery-order event records for a single dasher. Each record contains: - order_id - event_type in {CREATED, ACCEPTED, PICKED_...
Design hierarchical path store with create/set/get/remove
Design a hierarchical key-value path store supporting four operations on UNIX-style absolute paths (e.g., "/a/b"). Implement: 1) create(path, value): ...
Debug round-robin, DashMap, and simple cache
You are given a service that routes requests to a list of nodes, each marked as either available or unavailable. The pickNode() function is intended t...