Loading...

Last-Mile Delivery Shipment Tracking State Machine Pipeline

A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.

Domain
Pipeline Design
Difficulty
medium
Seniority
senior

Problem

We're a logistics company delivering parcels across 18,000 pin codes in India, and every scan at a warehouse, vehicle, or delivery point is a tracking event. Our customers expect real-time shipment status, and our ops team needs to know when parcels are stuck or moving in the wrong direction. The problem is that scan events arrive out of order - a parcel can be scanned at delivery before we've received the confirmation it left the origin hub. Design a pipeline that maintains accurate shipment state despite these ordering issues.

Practice This Problem

Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it instantly.