What an LLD interview tests 00:00:00 Make a prediction You will take a one-sentence object-design prompt and turn it into a testable operation, a clear state owner and one failure that the design must survive. Two gates both show one space available. Can both gates issue a valid ticket if each removes the space after printing? Yes, in the broken design. Both gates can see the same free space before either removes it. Put selection and claiming into one operation, then print the winning ticket. Start an interview by stating that observable promise. 00:00:36 Sam, Noor and the chair A carpenter hears the word chair and starts cutting. Ask who will sit on it: a child at a desk or an adult on a beach? The answer changes height, load and whether the chair folds. A design prompt is similarly incomplete. Before listing classes, agree on one user action and what counts as success. Then build a path through the objects that actually make that promise true. A low-level design interview (LLD, also called object-oriented design) asks you to design the inside of one program: classes, what each class knows, what it does, and how the objects talk to each other. Often you write the main methods as real code. Most daily work is not a puzzle with a clever trick. It is a change to a program that other people also change. The round looks at exactly that: can you split a problem so that the next change stays small? 00:01:31 Design the last parking space Begin with the driver's action. A car reaches the gate and wants one space of a suitable size. The space pool owns availability. Asking for a space must also claim it, or two gates can both promise the last space. A successful claim creates a ticket with the space identifier. If the pool is empty, the gate returns a clear failure and creates no ticket. Give each gate the same initial count of one and stop both after the read. Now advance the designs one command at a time. If the gate prints before the claim succeeds, two drivers hold tickets. If the pool claims before printing, the losing gate has a meaningful refusal to show. 00:02:15 Change the checkout rule In a library design a member may borrow up to three copies. Start by tracing one checkout. The member already has three loans, so the operation refuses a fourth before changing the copy. Now ask which object owns the borrowing limit. A class diagram alone would never have exposed that branch. Change just one requirement. Staff may override the three-loan limit after recording a reason. Show the original member being refused, then a staff member succeeding through an explicit override. That tells the interviewer who owns the exception and gives the test two observable outcomes. A complete-looking diagram can still let both tickets through. Inspect the state before and after two overlapping calls. If the exercise is about one program, keep storage and coordination modest. Introduce a distributed system only when a new requirement actually crosses that boundary. Python logging. Loggers are what the program calls, handlers decide where a record goes, filters decide which records pass, formatters decide the text. Four jobs, four kinds of object. Java ThreadPoolExecutor. What to do with a task when the pool is full is a policy object: RejectedExecutionHandler, with four ready policies and room for your own. 00:03:43 Try an interview follow-up Your team wants to add LLD rounds for hiring. What would you score? I score what I can observe in the room. Did the candidate agree on scope, identify an owner for each important fact, test a failure and adapt when a requirement changed? I write down examples of weak and strong evidence before the interview. Two reviewers score the same work independently before discussing it. An interviewer asks you to design a bike rental in thirty minutes. Before drawing classes, walk through two riders choosing the last bike. Ask when a reservation becomes binding. State one promise the design must keep, sketch a single successful rental, then trace those two riders against it. You now have a reason for each object you introduce. 00:04:33 What to take with you The round scores five things: agreed scope, clear owners, correct code, a design that takes change, and talk that another person can follow. C.I.M.P.L. is a way to look at a prompt: container, item, manager, policy, lifecycle. It finds candidates for classes. Your requirements decide which of them stay.