InterviewDB Question

Complete Order - Validate and Finalize an Order State Machine

Question Details

Round 1 - Coding Problem Model the lifecycle of a DoorDash order as a state machine. Orders move through states: CREATED -> ACCEPTED -> PICKED_UP -> DELIVERED. Some transitions also allow CANCELLED from certain states. Implement the state machine wit…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone