PPractick

System design interview question

Design Amazon pickup lockers

Medium · System design (HLD) · Company tags: Amazon

The prompt

"Design Amazon Locker. Customers choose a locker location at checkout; the courier delivers the package into a compartment; the customer gets a code and collects it within a few days. Thousands of locker banks, each with a fixed number of compartments of different sizes."

What this round really tests

allocation of a small, fixed, physical resource with a time dimension. The good stuff is: you must commit a compartment at checkout for a package that arrives days later, compartments come in sizes so it is a bin-packing problem, and unclaimed packages block a compartment indefinitely unless you design for it.

Clarifying questions worth asking

Practise questions like this with a real engineer

On Practick another engineer interviews you live for 60 minutes on a question from this bank. They have the full interviewer guide beside the call: the answers to your clarifying questions, the numbers to hand out, a ladder of follow-ups and a scoring rubric. You get the model solution once the session settles. It is free: interview someone for an hour and you have earned your own.

Book a free mock interview

Related questions

All 132 system design interview questions

System design mock interviews · DSA interview questions · Free mock interview practice · Browse interviewers · Sign in