Salesforce 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.
| Progress | Problem as candidates report it | Next step |
|---|---|---|
| Connection pool (LLD)Class diagram, Java code and follow-ups | Start | |
| Parking lotClass diagram, Java code and follow-ups | Start | |
| Music streaming app like Spotify (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Meeting scheduler with conflict detection (LLD)Class diagram, Java code and follow-ups | Start | |
| Message queue (LLD)Class diagram, Java code and follow-ups | Start | |
| Heterogeneous event-processing framework (LLD)Class diagram, Java code and follow-ups | Start | |
| Multiplayer Snakes and Ladders (machine coding)Class diagram, Java code and follow-ups | Start |
How Salesforce runs it
SDE 2, SDE 3, staff · 60 min. Object and concurrency design, such as a connection pool, often starting with database and sharding questions.
- 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 Salesforce have a low-level design or machine coding round?
Yes, at SDE 2, Senior Software Engineer (SDE 3), Staff Software Engineer. 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.