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