Design a locker

Medium
Company: Premium
GoogleAmazonUber

Imagine you're building a smart locker system, like those found in apartment complexes or parcel delivery services. These aren't your old school gym lockers. They need to be flexible, secure, and able to handle different users (residents, delivery drivers, admins), various package sizes, and potential integrations with other building management systems. This problem focuses on the core logic of managing these lockers: allocating them, storing packages, and ensuring only authorized users can access the contents. We need a robust, extensible design that can adapt to future requirements like temperature-controlled lockers or more sophisticated access control mechanisms.

Requirements

Think like an Architect

Before revealing the requirements, imagine you're in the interview right now."How would you clarify the scope with your interviewer?"

Premium Content

View detailed solutions.

UNLOCK PREMIUM