Amazon | SystemDesign | Amazon Locker System

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-04-11Added By Anonymous
Source: Link

I was asked this question in Amazon's SDE2 interview. There was no blackboard to draw the design diagram nor did I have time to get the estimates of this system. The only thing was the system should be scalable.

Use Cases:
1. You can request a physical locker from the website after you order a product.
2. Once assigned, you will get an OTP to open that locker to collect your product.
3. If you want to return that product, you will have to do the same steps 1 and 2.
4. The delivery/pickup person will also need to have knowledge of the locker and OTP for that locker to put/pick the product from your locker.

I was asked to give the answers to the interviewer's questions only. I was also asked how I would design an OTP system and GET or POST APIs. I am a bit unclear about this system. How to solve this problem?

Comments