Low-Level Design rounds at Swiggy focus on real product features — a shopping cart, a cab-booking flow, an expense splitter — rather than abstract textbook prompts. Interviewers consistently push candidates to clarify requirements and constraints thoroughly before any class gets designed.
Problem 1Design a Shopping Cart with Discounts
Design a shopping cart system that lets a user add items, apply discounts, and complete payment. The discount logic should be pluggable — new discount types should be easy to add without rewriting the core cart.
- Clarify requirements and constraints yourself before proposing any classes — interviewers push on this explicitly.
- Think about how multiple discount types (flat, percentage, coupon-based) could coexist without an if/else chain.
- Be ready to justify your choice of design pattern for the discount logic, not just name one.
More verified Swiggy LLD prompts are being reviewed and will be added here as they clear verification.

