AlgoViz

What an LLD interview tests

easy 40 min

A low-level design round gives you one vague sentence and about 45 minutes.

Watch lesson5:00

When it comes up

The moments this idea belongs in a design interview, and the moments it does not.

Signals

What the sentence really asks

You hearThey look atDo this
Design a ...ScopeAsk before you draw
Which classes?OwnersName a rule for each class
Code this methodCorrectnessGuards first, then changes
What if two people ...InvariantsShow the lock and what is inside
Now add ...ChangePoint at what stays
Why not ...TalkReason, cost, when you would switch

Design a bike share. How do you spend your first minute?

BreaksWrite class Bike
How
Start typing to show speed.
Limit
You build a throne. Every later answer corrects the first.
Choose when
Never.
WorksAsk ten questions from a list
How
Scale, actors, errors, security and so on.
Limit
Half do not matter here. It sounds recited.
Choose when
Better than silence.
StrongMain path first, then the rules on it
How
Say: a rider takes a bike, rides, returns it, pays. Then ask about each verb: who may, what can refuse, what varies.
Limit
Can miss admin actions. Ask for them at the end.
Choose when
Always a good start.