System design · LLD
Low-level design
Requirements, entities, classes and the patterns that fit, written up before coding. The code for many of these is under LLD machine coding.
Parking Lot
Support multiple floors with each floor having mulitple parking spots of different sizes · Support three vehicle types with fixed size: SMALL, MEDIUM , LARGE
Amazon Locker System
Single locker system · There can be multiple size locker
Elevator System
N floors and m elevators , with a max occupancy count of 8 people · two types of call : Hall Call -> provides a direction as input can be up or down
Inventory Management System
We have a multi warehouse system which contains multiple product with its stock · Find product with a specific qty in warehouse with most stock for reservation…
Food Delivery System
Customers can browse restaurants and their menu items (name, price, availability) · Customers place an order with one or more items from a single restaurant
Notification System
Send a notification to a user through one or more channels - email, sms , push · User have pre channel contact info & can have preferred channels
Rate Limiter
ClientType enum · PREMIUM , NORMAL
Stack Overflow
User can add question which will have a title , body and a list of tag · User can add a answer for a particular question
Splitwise
User can create a group and add/remove participants · user can add a expenses between partiticants in a group or individual participant