From HLD to LLD: The Bridge & The Machine-Coding Round

How HLD (high-level design) and LLD (low-level design) rounds differ and connect, the requirements → entities → class diagram → interfaces → patterns → concurrency → extensibility flow, a URL shortener taken from boxes to TypeScript classes, and how Indian product companies run and score 60–90 minute machine-coding rounds.

About 95 minutes · 17 exam questions · 11 interview questions · 2 code labs

What you will learn

  1. Two rounds, one system: HLD vs LLD vs machine coding
  2. The HLD-first → LLD flow (the 8 steps you narrate)
  3. Reading an HLD and choosing what to go deep on
  4. Worked example (1/3): URL shortener — requirements, HLD slice, entities
  5. Worked example (2/3): class diagram and interfaces
  6. Worked example (3/3): the service, strategies and an in-memory repository
  7. Concurrency in the LLD: one process, many pods, and the Java answer
  8. Extensibility: follow-ups as additive changes (+ the notification-service variant)
  9. How machine-coding rounds are run and evaluated (2025–2026)
  10. Time management, what to stub, and how to structure the project
  11. The demo, the tests and the viva
  12. Common mistakes (and what to do instead)

Next: OOP, SOLID & Modelling for LLD