Design a Food Review System with Reward Bonus

Asked at DoorDash · System Design for ML · Difficulty: Hard

Design the review feature of a food-delivery app. After an order is delivered, the customer can review each item in it; other customers read the reviews, see each item's average rating, and like reviews they find useful. A review that reaches 100 likes earns its author a one-time app credit.

Loading the problem…