Lld
Low-Level Design
Easy
LogiBridge Carrier Aggregator
An e-commerce platform needs to integrate with multiple shipping carriers (e.g., FedEx, DHL, USPS). Each carrier has a vastly different API for calculating rates, generating shipping labels, and tracking packages. Design a unified 'ShippingService' that allows the platform to interact with any carrier through a single interface, making it easy to add a new carrier like 'BlueDart' in the future without changing business logic.
Key concepts
adapter patternabstract factoryfacade
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