Low Level Design

Design classes that are easy to change: SOLID, design patterns, and the machine coding round.

About Low Level Design

Low Level Design (LLD) is designing the classes of one feature or system: which classes exist, what each is responsible for, and how they work together. It sits between writing code and designing a whole distributed system.

You will use SOLID principles and common design patterns, then design classic problems like a parking lot or a library system.

Why it matters for placements

Product companies run a machine coding or LLD round, and many service companies ask design-pattern questions. Clean, extensible design is what separates a strong candidate from one who only solves DSA.

What you'll learn

5 topics · 21 lessons, each with practice

  • Apply the five SOLID principles and spot violations in code
  • Use creational, structural and behavioural design patterns
  • Model a system with classes, interfaces and relationships
  • Design and code classic LLD problems within a time limit

Interview Ready Interview Ready

Take Interview Ready test

Recommended. Enough for technical rounds at good product companies.

SOLID Principles

Not started

Code that works today still has to change tomorrow, and badly structured classes turn every small change into a risky edit. SOLID is five rules of thumb for keeping classes small, focused and easy to extend. Interviewers use them as the shared vocabulary for judging any design you draw.

UML & Class Diagrams

Not started

In an LLD round you have to show your design before you code it, and a page of prose is hard to follow. UML gives a small set of standard boxes and arrows that every interviewer reads the same way. You only need class diagrams, their relationships and sequence diagrams to explain most designs.

Creational Patterns

Not started

Calling new directly everywhere ties your code to concrete classes and to messy constructor calls. Creational patterns control how and when objects are made, so that creation can change without touching the code that uses them. Singleton, Factory and Builder are the three that come up again and again in interviews and frameworks.

Advanced Advanced

Take Advanced test

Optional. For top product companies. Never counted against your readiness.

Structural & Behavioral Patterns

Not started

Most real design questions are about fitting objects together or letting behaviour vary without rewriting old code. These five patterns are named, tested answers to exactly those problems. Knowing them lets you say "this is a Strategy" in an interview and have the other person understand the whole design at once.

LLD Problems

Not started

The machine coding or LLD round gives you an open problem like "design a parking lot" and watches how you go from vague requirements to working classes. These five problems cover the patterns, data structures and concurrency issues most interviewers look for. Practising them builds a repeatable approach you can apply to problems you have never seen.