Object-oriented programming7 lessons
Classes, objects and the four pillars, written the way interviewers expect.
LOW LEVEL DESIGN · FREE
OOP, SOLID, all 23 design patterns, UML and thread safety, taught with animated lessons and Java you can run. Then practise the machine coding round on 42 full problems.
Four steps that build on each other. Every lesson is an animated walkthrough with a Java example, notes and interview questions.
Classes, objects and the four pillars, written the way interviewers expect.
Five rules that keep classes small, swappable and easy to extend.
The everyday judgement calls: duplication, coupling, wiring dependencies and immutable values.
Turning requirements into classes, and drawing them so an interviewer can follow.
Keeping shared objects correct when two threads touch them at once.
How the machine coding round is run and scored, and how to use your 60 to 90 minutes.
What the round looks like at each company, how it is scored, and the mistakes that cost offers.
Entities, state machines and strategies: the questions asked in almost every machine coding round
Business rules, algorithms and thread safety inside one process
Time, capacity and concurrency rules that interviewers love to extend
Machine coding favourites: games, rentals, ordering and records
Pools, breakers, tiny databases and history
Seat holds, matching, payment states and the data structures behind them
Boards, turns, rules and controllers: state machines you can run in a console
Carts, bids, balances and bookings where every rule has an edge case
Community sites and office tools: voting, reputation, formulas and dependencies
Cards, pieces and live scores: rules engines and state that must never go wrong
Bigger object models: social graphs, restaurants, flights and order books
See which problems candidates report at each company, and the rest of the interview loop.
Low level design (LLD) is turning a feature into classes, interfaces and methods: which objects exist, what each one is responsible for, how they talk, and how the code stays easy to change and safe when several threads use it. In interviews it is often called the machine coding round.
Start with object-oriented programming (encapsulation, abstraction, inheritance, polymorphism), then the SOLID principles, then the common design patterns such as Strategy, Observer, State, Factory, Builder and Decorator. Then practise full problems like a parking lot, an elevator and a vending machine, writing working code each time.
High level design draws services, databases, caches and queues and reasons about scale. Low level design zooms into one service: the classes, their relationships, the design patterns and the code, including thread safety inside one process.
You should recognise all of them, but interviews lean on about ten: Strategy, Observer, State, Factory method, Builder, Singleton, Decorator, Adapter, Command and Chain of responsibility. Every pattern lesson here shows where it appears in real LLD problems.
Every lesson and problem comes with Java 17 code that compiles and runs, with a small main() demo. The ideas carry over directly to C++, Python, C# and Kotlin.
Yes. All 48 lessons and 42 problems are free, with animated walkthroughs, notes, interview questions and code. Sign in to log each one and get two scheduled revisions.
System Design covers the services, databases and queues around your classes. DSA keeps your coding sharp for the online test.