Databricks 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 |
|---|---|---|
| IP firewall with first-match CIDR rules (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Hit counter or QPS tracker made thread-safe (LLD)Class diagram, Java code and follow-ups | Start | |
| Concurrent persistent key-value store (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| m x n tic-tac-toe with k-in-a-row win (LLD)Class diagram, Java code and follow-ups | Start | |
| Set with snapshot iterators (LLD)Covered by the lesson: Iterator pattern | Learn it | |
| Streaming run-length and bit-packing codec (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Referral credit tracker (LLD)Being added: class diagram, Java code and follow-ups | Coming soon | |
| Text editor with OOP (LLD)Covered by the lesson: Object-oriented programming | Learn it | |
| Typeahead with debounce and caching (machine coding)Being added: class diagram, Java code and follow-ups | Coming soon |
How Databricks 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 Databricks have a low-level design or machine coding round?
Not as a fixed round, but candidates report object-oriented design questions: IP firewall with first-match CIDR rules (LLD); Hit counter or QPS tracker made thread-safe (LLD); Concurrent persistent key-value store (LLD); m x n tic-tac-toe with k-in-a-row win (LLD); Set with snapshot iterators (LLD); Streaming run-length and bit-packing codec (machine coding); Referral credit tracker (LLD); Text editor with OOP (LLD); Typeahead with debounce and caching (machine coding).