SAP 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.
SAP 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 |
|---|---|---|
| E-commerce schema like Amazon: users, products, orders, payments, cart, reviews (LLD + schema)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Transaction store with time-range totals and suspicious-window detection (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Priority queue implementation for a Kth-largest stream (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Vending machine with inventory, balance and refunds (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 | |
| Expense sharing like Splitwise with settle-up (LLD)Class diagram, Java code and follow-ups | Start | |
| Logging library with appenders and level filtering (LLD)Class diagram, Java code and follow-ups | Start | |
| Coffee order pricing with add-ons using the decorator pattern (LLD)Covered by the lesson: Decorator pattern | Learn it | |
| Array-backed min heap (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Multi-elevator controller with nearest-car dispatch (LLD)Class diagram, Java code and follow-ups | Start | |
| Visitor, factory and abstract factory patterns in practice (LLD)Covered by the lesson: Factory method pattern | Learn it |
How SAP 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 SAP have a low-level design or machine coding round?
Not as a fixed round, but candidates report object-oriented design questions: E-commerce schema like Amazon: users, products, orders, payments, cart, reviews (LLD + schema); Transaction store with time-range totals and suspicious-window detection (LLD); Priority queue implementation for a Kth-largest stream (LLD); Vending machine with inventory, balance and refunds (LLD); Multi-level parking lot with size-matched spots (LLD); Expense sharing like Splitwise with settle-up (LLD); Logging library with appenders and level filtering (LLD); Coffee order pricing with add-ons using the decorator pattern (LLD); Array-backed min heap (LLD); Multi-elevator controller with nearest-car dispatch (LLD); Visitor, factory and abstract factory patterns in practice (LLD).