High level design (HLD) describes a system as services, data stores, queues and caches and the flows between them, and it answers questions about scale, availability, consistency and cost. Low level design (LLD) zooms into one component and describes its classes, interfaces, data structures, method signatures and state transitions, and it answers questions about correctness, extensibility and readable code. In interviews, the HLD round is usually called system design ("design Uber"), while the LLD round is called object oriented design or machine coding ("design a parking lot", often with working code at the end). Many companies run both for mid-level and senior roles, and they reward different habits.
Low level design and high level design are the same problem, seen from two different altitudes. High level design is the view from above. Clients, a load balancer, services, a cache, a database and a queue, and the flows between them. The questions are about scale. How many requests per second, what happens when a node fails, and where the data lives.
Now zoom into one service, and the boxes turn into classes. A parking lot has levels, each level has spots, and a ticket links a vehicle to a spot. Here the questions are about code. Which class owns each responsibility, which interface lets you add a new pricing rule, and whether parking is safe when two cars want the same spot.
In interviews, the high level round says, design Uber, and grades your trade-offs. The low level round says, design a parking lot, and grades clean abstractions, often with working code. The habits carry over. State the requirements, name the core entities, and justify every choice.
| Aspect | LLD (low level design) | HLD (high level design) |
|---|---|---|
| Unit of design | Classes, interfaces, enums, methods | Services, databases, caches, queues, CDNs |
| Main questions | Responsibilities, extensibility, patterns, thread safety inside a process | Scale, latency, availability, consistency, cost |
| Typical artifacts | Class diagram, method signatures, state machine, code | Architecture diagram, API list, data model, capacity estimate |
| Typical prompts | Design a parking lot, an elevator, an LRU cache, a vending machine | Design Twitter, Uber, a URL shortener, a chat system |
| Vocabulary | SOLID, composition, strategy, observer, factory | Sharding, replication, load balancing, eventual consistency |
| Graded on | Clean abstractions, correct behavior, code that is easy to change | Sound trade-offs, finding bottlenecks, handling failure |
You are in an LLD round when
The prompt describes a single application or device, such as a parking lot, a library or a game.
You are in an HLD round when
The prompt names a product used by millions of people.
Hotel booking works as either round. As HLD, you design a search service over availability, an inventory store that never double books a room, a payment flow, and a way to keep search results fresh. As LLD, you design Hotel, Room, Reservation and Guest classes, a ReservationStatus state machine, a pricing strategy interface, and a reserve method that is safe when two guests try the same room.
Codemia has several problems in both forms, which is a good way to feel the difference: the parking lot, hotel booking and ride sharing each have an object oriented version and a system design version.
An HLD deep dive may drop into a data model or an API contract, which is close to LLD. An LLD round may ask how your classes behave when two threads call the same method, which touches concurrency control. The skill that transfers is the same in both: state the requirements, name the core entities, and justify each choice by what it makes easy to change later.
The biggest mistake is answering the wrong round. Drawing Kafka and a CDN in an object oriented round wastes the time you need for classes and code, and writing class hierarchies in a system design round means you never reach scale or failure handling. Ask the recruiter which format you will get, and confirm in the first minute with the interviewer.
“Before I start, is this round focused on the class design and code for a single service, or on the distributed architecture? If it is the class design, I will start with the core entities and their responsibilities, then the interfaces where I expect new variants, then walk through the main flows in code.”
Mostly. LLD rounds are usually object oriented design rounds. Some companies call theirs machine coding and expect a working, runnable program within the time limit, not just a class diagram.
In real projects, HLD comes first: you decide the services and data stores, then design each component in detail. In interviews they are separate rounds and either can come first.
Both touch it. HLD picks the kind of store, the partition key and the main access patterns. LLD goes down to tables, columns, indexes and the queries a component runs.
For LLD, practise a set of classic problems end to end in code and learn the handful of design patterns that keep recurring. For HLD, learn the building blocks and practise talking through trade-offs on open problems with a timer.
How to build the first architecture diagram in a system design round.
From requirements to a diagram you can defend.
The starting point for object oriented design.
The principle most LLD feedback comes back to.
A full LLD walkthrough of the classic prompt.
LLD version: spots, vehicles, tickets and fees as classes.
HLD version of the same domain.
LLD: rooms, reservations and state transitions.
HLD: search, inventory and double-booking at scale.
LLD counterpart to Design Uber Backend.
HLD: location updates, matching and dispatch.
Knowing the trade-off is half of it
Practise saying it under follow-up questions: a timed system design interview with an AI interviewer that probes your choices and grades against a rubric.