0 day streak

Lyft low-level design interview

Product Global Machine coding / LLD

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.

0%ready
ProgressProblem as candidates report itNext step
Paginated fetch wrapper over an unstable API (LLD)Being added: class diagram, Java code and follow-ups Coming soon
Ride request matching with cancellations (machine coding)Class diagram, Java code and follow-ups Start
Command string parser with tests (machine coding)Being added: class diagram, Java code and follow-ups Coming soon
In-memory key-value store with nested begin, commit and rollback transactions (machine coding)Class diagram, Java code and follow-ups Start
Print the K-th non-empty line of a large file (machine coding)Being added: class diagram, Java code and follow-ups Coming soon

How Lyft runs it

SDE 1, SDE 2, SDE 3 · 90 min. The laptop round: you work in your own IDE on a multi-part task or an existing codebase, and code that runs and reads cleanly is what gets graded.

  • 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 Lyft have a low-level design or machine coding round?

Yes, at SDE 1, SDE 2, Senior Software Engineer (SDE 3). 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.