Back to problems

Build an Order-Exception Microservice with Explicit Refund Policies

Algorithm · DoorDash · Hard

Build a small service that runs locally and handles reports about delivery problems for an order. A report may describe a partial loss, a complete loss, or a late delivery. For each report, the service must decide whether the outcome should be a full refund, a partial refund, or no refund, and it should be executable end-to-end to demonstrate that behavior. The refund policy is intentionally left open. You should first define a minimal, explicit demonstration scope rather…

Checking your access…