Online Food Order Assignment System
Implement and debug an online food ordering system with classes for orders, kitchens, chefs, and dishes. Fix a bug in the order completion check and implement chef assignment logic that maps dishes to chefs while tracking order status.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early April, 2026
Meta
Mid-level
Online food order assignment system. Classes like - order, kitchen, chefs and dishes are provided. - First phase - A subtle bug- To check isOrderComplete(). Only return True if all the dishes in order are complete. Fixed bug in the order completion check - Second phase - Assign order to chefs. Each order has multiple dishes. chnage order status to assigned when all the dishes in order are assigned. getAssignment() method returns [dish,chef] list - Did not make it through third and fourth. Interviewer mentioned five phases
Your account is free and you can post anonymously if you choose.