InterviewDB
Question
Food Ordering System: OOD for Menu, Cart, and Order Lifecycle Management
phone
Question Details
Round 1 - Coding Problem Design and implement a food ordering system for a single restaurant. Your system must support: A Menu that holds Item(name, price, category, available). Items can be enabled/disabled. A Cart per user: add_item, remove_item, update_quantity, get_total. An Order created from a cart: transitions through states PLACED -> PREPARING -> OUT_FOR_DELIVERY -> DELIVERED. Cancellation only allowed before PREPARING. Follow-ups How would you apply a discount code that takes 10% off or…
Full Details
🔒
Unlock all Confluent questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a confluent interview during the phone round.