System Design · 3 topics · 12 questions
Low-Level Design
For object-oriented design rounds. Covers OOP and SOLID principles, the design patterns interviewers ask about most, and how to model classic problems such as a parking lot or an elevator as classes.
Low-Level Design progress0%
- 1st Visit
- 0/12
- 2nd Visit
- 0/12
- Revise
- 0/12
01OOP & SOLID
0/4
Low level design rounds start from object oriented principles: how to group data and behaviour into classes, hide implementation details, and structure code so that it…
Topic guide| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | What are the four pillars of object-oriented programming? | Concept | Easy | Read the answer to What are the four pillars of object-oriented programming? | |||
| 2 | What is the difference between an abstract class and an interface? | Concept | Easy | Read the answer to What is the difference between an abstract class and an interface? | |||
| 3 | What are the SOLID principles? | Concept | Medium | Read the answer to What are the SOLID principles? | |||
| 4 | Why is composition often preferred over inheritance? | Concept | Medium | Read the answer to Why is composition often preferred over inheritance? |
02Design Patterns
0/4
Design patterns are reusable solutions to recurring object oriented design problems, catalogued by the Gang of Four into creational, structural and behavioural groups…
Topic guide| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | What is the Singleton pattern, and what are its drawbacks? | Concept | Easy | Read the answer to What is the Singleton pattern, and what are its drawbacks? | |||
| 2 | What is the Factory pattern, and when would you use it? | Concept | Medium | Read the answer to What is the Factory pattern, and when would you use it? | |||
| 3 | How does the Observer pattern work, and where is it used? | Concept | Medium | Read the answer to How does the Observer pattern work, and where is it used? | |||
| 4 | What is the Strategy pattern, and how does it differ from the State pattern? | Concept | Medium | Read the answer to What is the Strategy pattern, and how does it differ from the State pattern? |
03Classic LLD Problems
0/4
Classic low level design problems ask you to model a real system as classes, interfaces and relationships within about 45 minutes, and often to write the core code…
Topic guide| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | Design a parking lot system | Concept | Medium | Read the answer to Design a parking lot system | |||
| 2 | Design a vending machine | Concept | Medium | Read the answer to Design a vending machine | |||
| 3 | Design an elevator system | Concept | Hard | Read the answer to Design an elevator system | |||
| 4 | Design a movie ticket booking system | Concept | Hard | Read the answer to Design a movie ticket booking system |