THN Interview Prep

LLD Exercises

LLD problems test whether you can turn requirements into small APIs, classes, state transitions, and extensible behavior. Keep diagrams compact: show only entities and relationships that affect correctness.

Start with Parking Lot, Elevator System, LRU Cache, LFU Cache, Logger, and Rate Limiter LLD. Then move into domain-heavy designs like ATM, Vending Machine, Chess, Splitwise, and BookMyShow.

Visual Enrichment Steps

Use Docs visual enrichment workflow for UML-lite class diagrams, state machines, and sequence diagrams. Best candidates: vending machine states, elevator dispatch flow, cache node/list map invariant, ticket booking lifecycle, and payment/order state transitions.

Mark this page when you finish learning it.

Last updated on

Spotted something unclear or wrong on this page?

On this page