Design Online Food Delivery (Zomato LLD)
Design Online Food Delivery (Zomato LLD)
HardLLD0% accepted
Design the LLD for Zomato: user browses restaurants, adds items to cart, places order, gets assigned to delivery agent, tracks order through states. Show all classes, enums, and key methods.
Approach
Design Zomato LLD: restaurant, menu, cart, order, agent assignment, tracking.
Input
User adds 2 Pizzas and 1 Coke to cart
Output
Cart.addItem(pizza, 2); Cart.addItem(coke, 1); cart.getTotal() = 2*pizzaPrice + cokePrice
More LLD problems
Browse all coding problems →Scenarios & Expected Answers
Sign in to continue
Create a free account to view answers and mark progress.
- Free forever — no credit card
- Theory Q&A with detailed answers
- Points, streaks & leaderboards