CSE Roadmap

Subject

Low-level design (LLD)

Low-level design: shape the classes inside a service in Java, with object-oriented basics, principles, patterns and the case studies interviews ask for.

Start at Level 0

Foundations

How an LLD round works, object-oriented basics and the design principles behind good classes.

  1. Level 0

    How low-level design works

    What an LLD round asks, and a repeatable method for answering it.

    5 modules · about 1 week

  2. Level 1

    Object-oriented basics for design

    Classes, objects and the ideas every later level uses.

    6 modules · about 1 week

  3. Level 2

    Design principles

    The rules that tell good classes from bad ones: SOLID, coupling, cohesion and when to keep things simple.

    7 modules · about 1 week

Patterns

The classic patterns for creating objects, and for structure and behaviour, with when not to use them.

  1. Level 3

    Patterns I: creating objects

    Factories, builders, singletons, prototypes and dependency injection: who creates objects, and how.

    6 modules · about 1 week

  2. Level 4

    Patterns II: structure and behaviour

    Strategy, observer, state, command, decorator, adapter, facade, template method, chain, composite and iterator, and how to choose between them.

    10 modules · about 2 weeks

Practice

Code habits, concurrency and the case studies that interviews ask for, in Java.

  1. Level 5

    Robust code: errors, state and threads

    Exceptions and validation, immutable values, locks and thread-safe classes, queues and thread pools, designing for tests, and changing code safely.

    6 modules · about 2 weeks

  2. Level 6

    Case studies I: classic LLD questions

    Seven full designs run through the five-step method: parking lot, tic-tac-toe, snake and ladder, vending machine, ATM, library management and chess.

    7 modules · about 3 weeks

  3. Level 7

    Case studies II: more LLD questions

    Ten more full designs run through the five-step method: LRU cache, rate limiter, logger, elevator, movie ticket booking, Splitwise, cab booking, food ordering, publish-subscribe and an in-memory file system.

    10 modules · about 4 weeks