Block (Square) low-level design interview
You design and build a small working system in code: classes, interfaces, data structures and how they change when a new requirement arrives. In India, the 90-minute machine coding round (Flipkart, PhonePe, Swiggy, Razorpay) is often the first filter for SDE 2.
Block (Square) has no separate low-level design round at any level. Candidates report these object-oriented design problems inside coding rounds and, at senior levels, the design round, so practise them as coding problems: a clean class model, then working code.
| Progress | Problem as candidates report it | Next step |
|---|---|---|
| Idempotent transfer handler that never moves money twice (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Bill-splitting app for a group of friends (machine coding)Class diagram, Java code and follow-ups | Start | |
| Rolling-window suspicious transaction detector (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Poker hands simulation (LLD)Class diagram, Java code and follow-ups | Start | |
| Interpreter for a small scripting language (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Card BIN lookup database that weighs sources by trust level (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Query a network of payments between accounts (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Memory card game with adjustable grid size and highlight-then-click scoring (machine coding)Class diagram, Java code and follow-ups | Start | |
| Multi-elevator controller with nearest-car dispatch (LLD)Class diagram, Java code and follow-ups | Start | |
| Multi-level parking lot with size-matched spots (LLD)Class diagram, Java code and follow-ups | Start | |
| Meeting room scheduler with conflict detection and weekly recurrence (LLD)Class diagram, Java code and follow-ups | Start | |
| Connect Four game class with move validation and win or draw detection (LLD)Being added: class diagram, Java code and follow-ups | Coming soon |
How Block (Square) runs it
- Build five classic systems end to end under a 90-minute timer: parking lot, splitwise, snake and ladder, rate limiter, in-memory key-value store.
- Separate models, services and storage; keep the main method thin.
- Learn when to use strategy, factory and observer patterns, and when not to.
- Handle invalid input explicitly: graders check validation.
The low-level design round, scored by level · New to LLD? Start with OOP, SOLID and the design patterns, then the machine coding problems.
Questions people ask
Does Block (Square) have a low-level design or machine coding round?
Not as a fixed round, but candidates report object-oriented design questions: Idempotent transfer handler that never moves money twice (machine coding); Bill-splitting app for a group of friends (machine coding); Rolling-window suspicious transaction detector (machine coding); Poker hands simulation (LLD); Interpreter for a small scripting language (machine coding); Card BIN lookup database that weighs sources by trust level (machine coding); Query a network of payments between accounts (machine coding); Memory card game with adjustable grid size and highlight-then-click scoring (machine coding); Multi-elevator controller with nearest-car dispatch (LLD); Multi-level parking lot with size-matched spots (LLD); Meeting room scheduler with conflict detection and weekly recurrence (LLD); Connect Four game class with move validation and win or draw detection (LLD).