Running the round · core
How to run a low-level design round
A low-level design round is about classes, responsibilities and working code for one small system. Run it in steps: clarify, list the entities, sketch the classes, write the main APIs, then extend for the follow-ups.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Step 1, clarify: ask about the actors, the must-have features, the rules (for example allocation order) and what a failure returns. Write the must-haves before the extras.
- Step 2, entities: take the nouns in the problem as candidate classes (Vehicle, Slot, Ticket) and the verbs as methods (park, unpark). Use an enum for a fixed set of values such as vehicle type or status.
- Step 3, class diagram: show each class, its main fields and who owns whom (ParkingLot has Floors, Floor has Slots). Keep it small. Spending 40 minutes on a diagram leaves no time to code.
- Step 4, APIs: write the service methods the caller will use (park, unpark, freeSlots) with simple inputs and outputs. The service never prints. A thin driver or main reads commands and prints.
- Step 5, code the core path first, then extend. The follow-up changes (a new vehicle type, a new rule, two gates at the same time) test whether your design can grow without edits in many places.
- Money is kept in paise as a long number or as BigDecimal, never as a double, because doubles drift by small amounts.
- Keep time and randomness out of the logic: pass in a Clock or a Dice interface so a test can control them. Say how you would test.
- Say the trade-offs out loud (one lock or many, simple or flexible). The grader looks at the design and the reasoning, not the syntax of one language.
The red pen
Common traps: mistake → fix
Mistake: I should draw a full UML diagram first
Fix: a small sketch is enough; working code for the main path matters more.
Mistake: Everything can sit in main or in one big service class
Fix: one class with all logic and printing is the most common reason to fail this round.
Mistake: The first version must handle every feature
Fix: get the must-haves working, then add extras when the interviewer asks.
Easy to hard
Questions interviewers ask, easy to hard
- What do you do in the first five minutes of a design problem?
- How do you find the classes in a problem statement?
- Why should the service not print anything?
- The interviewer adds a new rule at the end. How does your design absorb it?
- How do you decide what to code first when you have 90 minutes?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.