Lld
Low-Level Design
Medium
Dynamic Logistics Routing Hub
Design a system for a logistics company that integrates with multiple third-party delivery providers (FedEx, DHL, LocalCouriers). Each provider has a unique API and different pricing models based on weight, distance, and urgency. The system should dynamically select the 'best' provider based on a user's configurable preference (Cheapest vs Fastest). It must also handle real-time webhook updates from these providers to unify tracking statuses into a single internal format.
Key concepts
adapterstrategybridgesingleton
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now