Design a Discounts / Promotions System
DoorDash interview questions · Hard · System Design round · written walkthrough
Apply promo codes plus merchant- and platform-funded discounts to an order - the reported crux is resolving conflicting/stacked promotions without over-spending a budget.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.