Lld
Low-Level Design
Easy
Modular Parcel Locker Hub
Design a system for a smart locker hub used by multiple courier services. The system must manage lockers of various sizes (Small, Medium, Large) and assign them to incoming packages based on dimensions. It should handle the lifecycle of a delivery: from courier drop-off (generating a one-time code) to customer pick-up (validating the code and releasing the locker). Consider how the system handles 'expired' packages that aren't picked up within 48 hours.
Key concepts
state patternstrategy patternconcurrency
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