New intermediate

Low-Level Design (LLD) Course: SOLID, Patterns, Case Studies

Free low-level design course: OOP, SOLID, design patterns and LLD case studies (parking lot, elevator, LRU cache, ticket booking) with runnable code.

Lessons
12
Modules
4
Time
8-10 hours

Your progress

0 of 12 lessons done 0%
Start with Lesson 1
  • Free, no sign-up
  • Progress saved in this browser
  • Code you can copy and run

What you'll learn

  • Turn a vague prompt into classes, interfaces and relationships with a repeatable six-step method
  • Apply SOLID principles and recognise when code violates them
  • Use factory, builder, singleton, adapter, decorator, proxy, strategy, observer, state and command where they fit
  • Design and code a parking lot, elevator system, LRU cache, vending machine and movie ticket booking system
  • Make designs thread-safe: locks, queues, holds with expiry and conditional updates
  • Run a 45-minute LLD interview with a clear time plan and review checklist

Course curriculum

12 lessons in 4 modules ยท 8-10 hours

Foundations

3 lessons
  1. Lesson 1: What Is Low-Level Design? HLD vs LLD What low-level design means, how it differs from high-level design, what LLD interviews test, and a 6-step method to go from requirements to classes. 25-35 min beginner
  2. Lesson 2: OOP Essentials and Class Diagrams The OOP ideas LLD relies on: encapsulation, abstraction, polymorphism, composition over inheritance, and reading and drawing UML class diagrams. 30-40 min beginner
  3. Lesson 3: SOLID Principles with Examples SOLID principles with one runnable Python example: single responsibility, open/closed, Liskov, interface segregation and dependency inversion. 40-50 min beginner

Design Patterns

3 lessons
  1. Lesson 4: Creational Patterns: Factory, Builder, Singleton Factory, builder and thread-safe singleton patterns in Python: when each one helps, when it hurts, and how they show up in LLD interview answers. 35-45 min intermediate
  2. Lesson 5: Structural Patterns: Adapter, Decorator, Proxy Adapter, decorator and proxy patterns with one payment example in Python: wrap vendor SDKs, stack logging and retries, and load costly objects lazily. 35-45 min intermediate
  3. Lesson 6: Behavioral Patterns: Strategy, Observer, State Strategy, observer, state and command patterns in runnable Python: swap algorithms, publish events, enforce order lifecycles and support undo. 40-50 min intermediate

Case Studies

5 lessons
  1. Lesson 7: Design a Parking Lot (LLD Case Study) Parking lot low-level design step by step: requirements, classes, spot allocation and pricing strategies, thread-safe entry, and full Python code. 50-60 min intermediate
  2. Lesson 8: Design an Elevator System (LLD Case Study) Elevator system low-level design: hall and car calls, the LOOK scheduling algorithm, a cost-based dispatcher for many cars, and runnable Python code. 45-55 min intermediate
  3. Lesson 9: Design an LRU Cache in Python and Java Design an LRU cache with O(1) get and put using a hash map and doubly linked list, with runnable Python and Java code, thread safety and extensions. 40-50 min intermediate
  4. Lesson 10: Design a Vending Machine with the State Pattern Vending machine low-level design using the State pattern: idle, has-money and sold-out states, coin handling, change-making and cancel with refund. 40-50 min intermediate
  5. Lesson 11: Design a Movie Ticket Booking System BookMyShow-style ticket booking LLD: shows and seats, temporary seat holds with expiry, all-or-nothing booking and no double booking under concurrency. 50-60 min advanced

Concurrency and Interviews

1 lesson
  1. Lesson 12: Thread Safety and an LLD Interview Checklist Race conditions, locks and producer-consumer queues for low-level design, plus a 45-minute LLD interview plan and a checklist for reviewing your design. 40-50 min intermediate