Step 1: Use cases and constraints
Design the feature that shows the past week's best-selling products in each category. What will you handle, and what do you assume?
Answer each step in your own words before you look. The model answers follow System Design Primer: Design Amazon's sales ranking by category feature.
Design the feature that shows the past week's best-selling products in each category. What will you handle, and what do you assume?